4 Nov
2014
4 Nov
'14
10:48 a.m.
Georg Brandl added the comment:
Basically beacuse with the current patch, this is because object_dir also does merge_class_dict, to get class attributes. This means that attributes like __qualname__ would show up in dir(instance), but are not actually available on the instance.
Fixing this requires a more substantial rewrite, but is certainly the right way if this is accepted at all.
----------
_______________________________________
Python tracker