4683 Commits (95db2e7b8a0477ddf60902ca0aacdafbb265e5a5)

Author SHA1 Message Date
Antoine Pitrou dcedaf6e53 Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases. 13 years ago
Antoine Pitrou 796564c27b Issue #18112: PEP 442 implementation (safe object finalization). 13 years ago
Victor Stinner 5b3b1006bb Issue #18520: Fix _PyDict_GetItemId(), suppress _PyUnicode_FromId() error 13 years ago
Victor Stinner 34f96b8dd3 Issue #18520: Fix PyFunction_NewWithQualName() error handling 13 years ago
Victor Stinner 4d1f5d6eee Reindent PyFunction_NewWithQualName() 13 years ago
Victor Stinner 1c8f059019 Issue #18520: Add a new PyStructSequence_InitType2() function, same than 13 years ago
Christian Heimes c731bbe665 Propagate error when PyByteArray_Resize() fails in bytearray_translate() 13 years ago
Christian Heimes 26532f7519 Check return value of PyType_Ready(&EncodingMapType) 13 years ago
Christian Heimes de4d183955 Issue #18327: Fix argument order in call to compatible_for_assignment(oldto, newto, attr). 13 years ago
Victor Stinner 2c40f640d9 Issue #18408: Fix list_ass_slice(), handle list_resize() failure 13 years ago
Victor Stinner 8e47832737 Issue #18408: PyObject_Str(), PyObject_Repr() and type_call() now fail with an 13 years ago
Victor Stinner f97dfd7b59 Issue #18408: Fix dict_repr(), don't call PyObject_Repr() with an exception set 13 years ago
Victor Stinner 08a80b11ad longobject.c: add an assertion to ensure that MEDIUM_VALUE() is only called on 13 years ago
Victor Stinner 8aed6f1c7d Issue #18408: Rewrite NEGATE() macro in longobject.c to handle PyLong_FromLong() failure 13 years ago
Victor Stinner 5967bf4928 Issue #18408: Fix PyType_Ready(), handle _PyDict_SetItemId() failure 13 years ago
Victor Stinner e901d1fbdf Issue #18408: Fix Py_ReprEnter(), handle PyList_Append() failure 13 years ago
Victor Stinner 095d99ffff Issue #18408: Fix listpop(), handle list_ass_slice() failure 13 years ago
Victor Stinner 9a146eeadb Issue #18408: Fix structseq_reduce(), handle PyDict_SetItemString() failure 13 years ago
Victor Stinner 26f91999b4 Close #18469: Replace PyDict_GetItemString() with _PyDict_GetItemId() in structseq.c 13 years ago
Victor Stinner 3997cfdb7f Cleanup type_call() to ease debug 13 years ago
Victor Stinner 1b63493ed1 Issue #18408: Py_ReprLeave() now saves/restores the current exception, 13 years ago
Victor Stinner ac2a4fe8a2 Issue #18408: dict_new() now fails on new_keys_object() error 13 years ago
Victor Stinner a9f61a5a23 Cleanup dictobject.c 13 years ago
Victor Stinner fdcbab9602 Issue #18408: Fix PyDict_GetItemString(), suppress PyUnicode_FromString() error 13 years ago
Victor Stinner 32fd6eab1e Issue #18408: Fix list.extend(), handle list_resize() failure 13 years ago
Victor Stinner f243ee4055 Issue #18408: add more assertions on PyErr_Occurred() in ceval.c to detect bugs 13 years ago
Victor Stinner 53510cda59 Issue #18408: type_new() and PyType_FromSpecWithBases() now raise MemoryError 13 years ago
Victor Stinner e699e5a218 Issue #18408: Don't check unicode consistency in _PyUnicode_HAS_UTF8_MEMORY() 13 years ago
Victor Stinner 3de5869864 Issue #18408: PyObject_Call() now fails with an assertion error in debug mode 13 years ago
Victor Stinner a41f085144 Issue #18408: pmerge() help of mro_implementation() now raises MemoryError on 13 years ago
Victor Stinner 9035ad932b Issue #18408: In debug mode, PyCFunction_Call() now checks if an exception was 13 years ago
Victor Stinner 2e8474ddde Issue #18408: slot_tp_str() must not fallback on slot_tp_repr() on error 13 years ago
Victor Stinner 54e4ca76c9 typeobject.c: remove trailing spaces 13 years ago
Victor Stinner c4266360fc Issue #18408: Fix _PyMem_DebugRealloc() 13 years ago
Victor Stinner 9e6b4d715c Issue #18408: _PyUnicodeWriter_Finish() now clears its buffer attribute in all 13 years ago
Victor Stinner 15a0bd3965 Issue #18408: Fix _PyUnicodeWriter_Finish(): clear writer->buffer, 13 years ago
Victor Stinner 9812af8e72 Issue #18408: Fix PyType_Ready() and type.__bases__ setter to handle 13 years ago
Victor Stinner b27cd3e5ad Issue #18408: Fix list.pop() to handle list_resize() failure (MemoryError). 13 years ago
Victor Stinner c9b7f51ec2 Issue #18408: Fix PyDict_New() to handle correctly new_keys_object() failure 13 years ago
Victor Stinner 49fc8ece81 Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup() 13 years ago
Victor Stinner 6f8eeee7b9 Issue #18203: Fix _Py_DecodeUTF8_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() 13 years ago
Victor Stinner 0e2d3cf2cb Issue #18203: Replace malloc() with PyMem_Malloc() in _PySequence_BytesToCharpArray() 13 years ago
Victor Stinner 1a7425f67a Issue #18203: Replace malloc() with PyMem_RawMalloc() at Python initialization 13 years ago
Victor Stinner 725e668ac8 Issue #3329: Fix _PyObject_ArenaVirtualFree() 13 years ago
Victor Stinner 0507bf56f0 Issue #3329: Implement the PEP 445 13 years ago
Brett Cannon 679ecb565b Issue #15767: back out 8a0ed9f63c6e, finishing the removal of 13 years ago
Christian Heimes d47802eef7 Fix ref leak in error case of unicode find, count, formatlong 13 years ago
Christian Heimes d47a0456b1 Fix ref leak in error case of unicode index 13 years ago
Christian Heimes ea71a525c3 Fix ref leak in error case of unicode rindex and rfind 13 years ago
Christian Heimes 305e49e17e Fix memory leak in endswith 13 years ago