Message119962
CPython's dict(obj) ignores `keys` and `__iter__` if obj is a subclass of dict. I thought this was an important language detail, not just an implementation quirk. But, I just tested pypy 1.3, and it is calling .keys() on dicts. Oh well.
I think the __doc__ can still be slightly improved; ignore my patch and just change the first E: to E.keys(): - that would be more accurate. |
|
Date |
User |
Action |
Args |
2010-10-30 06:32:34 | ivank | set | recipients:
+ ivank, rhettinger |
2010-10-30 06:32:34 | ivank | set | messageid: <1288420354.41.0.410432357777.issue10240@psf.upfronthosting.co.za> |
2010-10-30 06:32:32 | ivank | link | issue10240 messages |
2010-10-30 06:32:32 | ivank | create | |
|