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 ncoghlan
Recipients Arfrever, Trundle, barry, benjamin.peterson, eric.araujo, jcea, michael.foord, ncoghlan, r.david.murray, rhettinger
Date 2011-06-04.01:48:55
SpamBayes Score 0.004074089
Marked as misclassified No
Message-id <1307152136.46.0.330771135988.issue12248@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, I wondered about that when I saw Barry was using old-style classes in his example. Perhaps the answer then is to add a PyInstance_Check() to skip invocation of __dir__() completely for old-style classes?
History
Date User Action Args
2011-06-04 01:48:56ncoghlansetrecipients: + ncoghlan, barry, rhettinger, jcea, benjamin.peterson, eric.araujo, Arfrever, r.david.murray, michael.foord, Trundle
2011-06-04 01:48:56ncoghlansetmessageid: <1307152136.46.0.330771135988.issue12248@psf.upfronthosting.co.za>
2011-06-04 01:48:55ncoghlanlinkissue12248 messages
2011-06-04 01:48:55ncoghlancreate