This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jek
Recipients jek
Date 2010-09-10.19:09:59
SpamBayes Score 0.00061626325
Marked as misclassified No
Message-id <1284145802.06.0.781537031861.issue9826@psf.upfronthosting.co.za>
In-reply-to
Content
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__
History
Date User Action Args
2010-09-10 19:10:02jeksetrecipients: + jek
2010-09-10 19:10:02jeksetmessageid: <1284145802.06.0.781537031861.issue9826@psf.upfronthosting.co.za>
2010-09-10 19:09:59jeklinkissue9826 messages
2010-09-10 19:09:59jekcreate