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.000616263
Marked as misclassified No
Message-id <>
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/", 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:02jeksetrecipients: + jek
2010-09-10 19:10:02jeksetmessageid: <>
2010-09-10 19:09:59jeklinkissue9826 messages
2010-09-10 19:09:59jekcreate