Message174286
Try these in 3.3 (or Python 3.2 for the latter):
set() < collections.ChainMap().keys()
set() < collections.UserDict().keys()
Both fail with max recursion depth exceeded.
Given that both exhibit this behaviour, the core of the problem is quite possibly in MutableMapping.
(Uncovered while attempting to find a tidier ChainMap-based way to implement __subclasshook__ checks for ducktyping based on multiple methods) |
|
Date |
User |
Action |
Args |
2012-10-31 14:33:20 | ncoghlan | set | recipients:
+ ncoghlan |
2012-10-31 14:33:20 | ncoghlan | set | messageid: <1351694000.44.0.179883669733.issue16373@psf.upfronthosting.co.za> |
2012-10-31 14:33:20 | ncoghlan | link | issue16373 messages |
2012-10-31 14:33:20 | ncoghlan | create | |
|