cpython/Objects
Brett Cannon 0b14f243c4 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.
2007-09-30 19:45:10 +00:00
..
stringlib Fix endcase for str.rpartition() 2006-09-04 15:32:48 +00:00
abstract.c Properly indent two lines. (Spotted because it caused merge conflicts in the 2007-09-18 23:27:30 +00:00
boolobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
bufferobject.c Improve extended slicing support in builtin types and classes. Specifically: 2007-08-28 15:28:19 +00:00
cellobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
classobject.c As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol. The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present. 2007-05-07 16:46:54 +00:00
cobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
codeobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
complexobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
descrobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
enumobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
exceptions.c Fix a crasher where Python code managed to infinitely recurse in C code without 2007-09-07 04:18:30 +00:00
fileobject.c Patch # 188 by Philip Jenvey. 2007-09-22 20:18:03 +00:00
floatobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
frameobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
funcobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
genobject.c Generators had their throw() method allowing string exceptions. That's a 2007-09-11 21:02:28 +00:00
intobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
iterobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
listobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
listsort.txt typo fix 2006-08-01 16:24:30 +00:00
longobject.c Issue #1772851. Alters long.__hash__ from being *almost* completely 2007-09-19 15:10:06 +00:00
methodobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
moduleobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
object.c tuple.__repr__ did not consider a reference loop as it is not possible from 2007-09-30 19:45:10 +00:00
obmalloc.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
rangeobject.c Remove "static forward" declaration. Move constructors 2006-04-11 09:04:12 +00:00
setobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
sliceobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
stringobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
structseq.c Improve extended slicing support in builtin types and classes. Specifically: 2007-08-28 15:28:19 +00:00
tupleobject.c tuple.__repr__ did not consider a reference loop as it is not possible from 2007-09-30 19:45:10 +00:00
typeobject.c Fix a crasher where Python code managed to infinitely recurse in C code without 2007-09-07 04:18:30 +00:00
unicodectype.c Patch 1494554: Update numeric properties to Unicode 4.1. 2006-05-27 08:36:52 +00:00
unicodeobject.c Set startinpos before calling the error handler. 2007-08-30 15:34:55 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00