Message116037
repr of circular graphs of collections.OrderedDicts fails with 'RuntimeError: maximum recursion depth exceeded while calling a Python object'.
>>> from collections import OrderedDict
>>> left, right = OrderedDict(), OrderedDict()
>>> left['other'] = right
>>> right['other'] = left
>>> left
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
...
File "lib/python2.7/collections.py", line 137, in __repr__
return '%s(%r)' % (self.__class__.__name__, self.items())
RuntimeError: maximum recursion depth exceeded in __subclasscheck__ |
|
Date |
User |
Action |
Args |
2010-09-10 19:10:02 | jek | set | recipients:
+ jek |
2010-09-10 19:10:02 | jek | set | messageid: <1284145802.06.0.781537031861.issue9826@psf.upfronthosting.co.za> |
2010-09-10 19:09:59 | jek | link | issue9826 messages |
2010-09-10 19:09:59 | jek | create | |
|