cpython/Objects
Victor Stinner 2e8474ddde Issue #18408: slot_tp_str() must not fallback on slot_tp_repr() on error
type->tp_str must not point to slot_tp_str() if type has no __str__ attribute,
so there is no reason for slot_tp_str() to fallback on slot_tp_str() on lookup
error. Moreover, calling PyErr_Clear() may hide a real bug like MemoryError.

If __str__ attribute is removed, slots must be updated (which is done by
type_setattro()).
2013-07-11 22:46:11 +02:00
..
stringlib rewrite the parsing of field names to be more consistent wrt recursive expansion 2013-05-17 18:22:31 -05:00
abstract.c Issue #18203: Replace malloc() with PyMem_Malloc() in _PySequence_BytesToCharpArray() 2013-07-07 17:22:41 +02:00
accu.c Issue #14387: Do not include accu.h from Python.h. 2012-03-22 14:38:16 +01:00
boolobject.c
bytearrayobject.c Fix compilation on Windows 2012-11-03 23:08:27 +01:00
bytes_methods.c Issue #13738: Simplify implementation of bytes.lower() and bytes.upper(). 2012-01-08 16:22:46 +01:00
bytesobject.c Issue #12983: Bytes literals with invalid \x escape now raise a SyntaxError 2013-02-10 17:43:25 +02:00
capsule.c
cellobject.c
classobject.c Py_TYPE() has already dereferenced self before the NULL check. Moved Py_TYPE() after the check for self == NULL 2012-09-10 02:45:56 +02:00
codeobject.c Issue #15456: Fix code __sizeof__ after #12399 change. 2012-07-26 22:23:23 +02:00
complexobject.c Close #17694: Add minimum length to _PyUnicodeWriter 2013-04-17 23:02:17 +02:00
descrobject.c Use Py_intptr_t to store the difference between two pointers, instead of int 2013-05-08 00:44:15 +02:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c Issue #18408: Fix PyDict_New() to handle correctly new_keys_object() failure 2013-07-08 22:19:20 +02:00
enumobject.c Issue #14288: Serialization support for builtin iterators. 2012-04-03 10:49:41 +00:00
exceptions.c Issue #15767: back out 8a0ed9f63c6e, finishing the removal of 2013-07-04 17:51:50 -04:00
fileobject.c If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified. 2013-06-25 00:37:25 +02:00
floatobject.c Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros 2013-06-04 23:14:37 +02:00
frameobject.c Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros 2013-06-04 23:14:37 +02:00
funcobject.c use new generic __dict__ descriptor implementations 2012-02-19 20:02:57 -05:00
genobject.c Backout c89febab4648 following private feedback by Guido. 2013-05-14 20:37:52 +02:00
iterobject.c Close #17932: Fix an integer overflow issue on Windows 64-bit in iterators: 2013-06-04 23:02:46 +02:00
listobject.c Issue #18408: Fix list.pop() to handle list_resize() failure (MemoryError). 2013-07-08 22:20:44 +02:00
listsort.txt
lnotab_notes.txt
longobject.c Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros 2013-06-04 23:14:37 +02:00
memoryobject.c Fix error messages. 2013-02-19 13:44:49 +01:00
methodobject.c Fix supernumerary 's' in sys._debugmallocstats() output. 2013-04-11 21:02:20 +02:00
moduleobject.c #17115,17116: Have modules initialize the __package__ and __loader__ 2013-05-04 13:56:58 -04:00
namespaceobject.c Issue #9566: Fix a compiler warning on Windows 64-bit in namespace_init() 2013-06-05 00:13:51 +02:00
object.c Issue #3329: Implement the PEP 445 2013-07-07 02:05:46 +02:00
obmalloc.c Issue #18408: Fix _PyMem_DebugRealloc() 2013-07-09 00:44:43 +02:00
rangeobject.c Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 2012-11-17 19:18:10 +00:00
setobject.c Fix compilation warning with gcc 4.8 (unused typedef) 2013-06-18 23:28:18 +02:00
sliceobject.c Issue #16451: Refactor to remove duplication between range and slice in slice index computations. 2012-11-17 19:18:10 +00:00
structseq.c Check for NULL return value in PyStructSequence_NewType(). Found by Coverity. 2012-08-19 11:20:41 +02:00
tupleobject.c Issue #9566: More long/Py_ssize_t fixes in tuple and list iterators (it_index) 2013-06-24 23:59:24 +02:00
typeobject.c Issue #18408: slot_tp_str() must not fallback on slot_tp_repr() on error 2013-07-11 22:46:11 +02:00
typeslots.inc remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
typeslots.py remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
unicodectype.c fix old titlecase function for extended case chars 2012-01-15 21:33:32 -05:00
unicodeobject.c Issue #18408: _PyUnicodeWriter_Finish() now clears its buffer attribute in all 2013-07-09 00:37:24 +02:00
unicodetype_db.h upgrade to UCD 6.2 2012-09-29 13:47:39 -04:00
weakrefobject.c Issue #17643: Add __callback__ attribute to weakref.ref. 2013-04-13 15:45:44 +01:00