This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients Arfrever, amaury.forgeotdarc, benjamin.peterson, docs@python, eryksun, georg.brandl, pitrou, techdragon
Date 2014-11-04.10:48:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415098107.38.0.787833315701.issue22790@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-11-04 11:02:45georg.brandlunlinkissue22790 messages
2014-11-04 10:48:27georg.brandlsetrecipients: + georg.brandl, amaury.forgeotdarc, pitrou, benjamin.peterson, Arfrever, docs@python, eryksun, techdragon
2014-11-04 10:48:27georg.brandlsetmessageid: <1415098107.38.0.787833315701.issue22790@psf.upfronthosting.co.za>
2014-11-04 10:48:27georg.brandllinkissue22790 messages
2014-11-04 10:48:27georg.brandlcreate