]> granicus.if.org Git - python/commit
- Issue #1686386: Tuple's tp_repr did not take into account the possibility of
authorGuido van Rossum <guido@python.org>
Thu, 10 Apr 2008 22:43:58 +0000 (22:43 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 10 Apr 2008 22:43:58 +0000 (22:43 +0000)
commitaa975432d4456c69e1b1fd2a335f01261175f798
tree55a0db3a38cee1d9b440c9e878906ed82fcea3ca
parenta6add69a63385da3e8abf34023b671137479bf5a
- 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.)
Misc/NEWS
Objects/object.c
Objects/tupleobject.c