commit | aa975432d4456c69e1b1fd2a335f01261175f798 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Apr 10 22:43:58 2008 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Apr 10 22:43:58 2008 +0000 |
tree | 55a0db3a38cee1d9b440c9e878906ed82fcea3ca | |
parent | a6add69a63385da3e8abf34023b671137479bf5a [diff] |
- Issue #1686386: Tuple's tp_repr did not take into account the possibility of having a self-referential tuple, which is possible from C code. Nor did object's tp_str consider that a type's tp_str could do something that could lead to an inifinite recursion. Py_ReprEnter() and Py_EnterRecursiveCall(), respectively, fixed the issues. (Backport of r58288 from trunk to 2.5.)