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.02:26:31
SpamBayes Score 4.8887546e-06
Marked as misclassified No
Message-id <1307154392.29.0.271051612232.issue12248@psf.upfronthosting.co.za>
In-reply-to
Content
It would be broken in the same way that it was broken in 2.7.1 though. That can be a plus when it comes to maintenance releases.

OTOH, this does turn a silent failure (__dir__() ignored on old-style classes) into a noisy failure (must return a list).

If you make Barry's classes new-style, they break in 2.7.1 as well, so I'm coming around to a point of view that this is a legitimate fix that reveals a real bug in third party code (i.e. anyone that hits this had a __dir__ that previously wasn't getting invoked)
History
Date User Action Args
2011-06-04 02:26:32ncoghlansetrecipients: + ncoghlan, barry, rhettinger, jcea, benjamin.peterson, eric.araujo, Arfrever, r.david.murray, michael.foord, Trundle
2011-06-04 02:26:32ncoghlansetmessageid: <1307154392.29.0.271051612232.issue12248@psf.upfronthosting.co.za>
2011-06-04 02:26:31ncoghlanlinkissue12248 messages
2011-06-04 02:26:31ncoghlancreate