Message137621
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) |
|
Date |
User |
Action |
Args |
2011-06-04 02:26:32 | ncoghlan | set | recipients:
+ ncoghlan, barry, rhettinger, jcea, benjamin.peterson, eric.araujo, Arfrever, r.david.murray, michael.foord, Trundle |
2011-06-04 02:26:32 | ncoghlan | set | messageid: <1307154392.29.0.271051612232.issue12248@psf.upfronthosting.co.za> |
2011-06-04 02:26:31 | ncoghlan | link | issue12248 messages |
2011-06-04 02:26:31 | ncoghlan | create | |
|