System Information
WinXP Pro SP3 32Bit
Nvidia EVGA 8800 GTS 512
Blender Version
2.68, 2.69 Maybe earlier versions also.
Short description of error
getattr and hasattr is obviously acting wrong and is causing my plugin/addon code(and probably blender core) to give undesired results. Everything returns True
Exact steps for others to reproduce the error
PYTHON INTERACTIVE CONSOLE 3.3.0 (default, Nov 26 2012, 17:23:29) [MSC v.1500 32 bit (Intel)] Command History: Up/Down Arrow Cursor: Left/Right Home/End Remove: Backspace/Delete Execute: Enter Autocomplete: Ctrl-Space Zoom: Ctrl +/-, Ctrl-Wheel Builtin Modules: bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, blf, mathutils Convenience Imports: from mathutils import *; from math import * Convenience Variables: C = bpy.context, D = bpy.data >>> import bpy >>> getattr(bpy.ops, 'whatTheF***') <module like class 'bpy.ops.whatTheF***'> >>> hasattr(bpy.ops, 'whatTheF***') True