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.
Created on 2010年09月10日 19:09 by jek, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | |
odictcyclerepr.py | jek, 2010年09月10日 19:09 |
Messages (3) | |||
---|---|---|---|
msg116037 - (view) | Author: jason kirtland (jek) | Date: 2010年09月10日 19:09 | |
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__ |
|||
msg116038 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2010年09月10日 19:34 | |
Patch? |
|||
msg116150 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2010年09月12日 05:29 | |
Fixed in r84728 and r84729. Will backport to 2.7 shortly. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022年04月11日 14:57:06 | admin | set | github: 54035 |
2010年09月12日 05:29:18 | rhettinger | set | status: open -> closed resolution: fixed messages: + msg116150 |
2010年09月11日 22:34:57 | eric.araujo | set | nosy:
+ eric.araujo stage: needs patch |
2010年09月10日 19:34:58 | rhettinger | set | priority: normal -> low messages: + msg116038 |
2010年09月10日 19:28:35 | rhettinger | set | assignee: rhettinger nosy: + rhettinger |
2010年09月10日 19:09:59 | jek | create |