Message137503
Hmm, that behaviour looks unrelated to the specific problem Michael reported.
The initial problem in this space was that defining __dir__() completely determined the result of dir() calls, but object.__dir__() didn't actually work, so you couldn't easily get the standard list of attributes in order to supplement it.
I don't believe there is any reason to have tightened up the type constraints while fixing that - dir() should be returning sorted(obj.__dir__()) and not caring about the exact return type of the magic method. |
|
Date |
User |
Action |
Args |
2011-06-03 00:14:53 | ncoghlan | set | recipients:
+ ncoghlan, barry, benjamin.peterson, r.david.murray, michael.foord |
2011-06-03 00:14:52 | ncoghlan | set | messageid: <1307060092.26.0.772131908489.issue12248@psf.upfronthosting.co.za> |
2011-06-03 00:14:51 | ncoghlan | link | issue12248 messages |
2011-06-03 00:14:51 | ncoghlan | create | |
|