[issue22790] some class attributes missing from dir(Class)
4 Nov
2014
4 Nov
'14
6:48 p.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
3454
Age (days ago)
3454
Last active (days ago)
0 comments
1 participants
participants (1)
-
Georg Brandl