diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-09-30 19:45:10 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-09-30 19:45:10 +0000 |
commit | 0b14f243c4ba95db67604261131400cd92736df9 (patch) | |
tree | 03615f5cc52920c164cac1bd6cef55412f95aeed /Lib/stringprep.py | |
parent | c537881caab4d63e34b7424459c3822292ad2375 (diff) | |
download | cpython-git-0b14f243c4ba95db67604261131400cd92736df9.tar.gz |
tuple.__repr__ did not consider a reference loop as it is not possible from
Python code; but it is possible from C. object.__str__ had the issue of not
expecting a type to doing something within it's tp_str implementation that
could trigger an infinite recursion, but it could in C code.. Both found
thanks to BaseException and how it handles its repr.
Closes issue #1686386. Thanks to Thomas Herve for taking an initial stab at
coming up with a solution.
Diffstat (limited to 'Lib/stringprep.py')
0 files changed, 0 insertions, 0 deletions