cpython/Objects
Pablo Galindo 77f4000ae0
[3.8] [3.9] bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020) (GH-22046)
When allocating MemoryError classes, there is some logic to use
pre-allocated instances in a freelist only if the type that is being
allocated is not a subclass of MemoryError. Unfortunately in the
destructor this logic is not present so the freelist is altered even
with subclasses of MemoryError..
(cherry picked from commit 9b648a95cc)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>.
(cherry picked from commit 87e91ae2e5)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
2020-09-01 21:40:48 +01:00
..
clinic Document CodeType.replace (GH-17776) 2019-12-31 22:27:56 -08:00
stringlib closes bpo-39605: Fix some casts to not cast away const. (GH-18453) 2020-02-11 18:47:20 -08:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537) 2020-06-22 01:21:04 -07:00
accu.c bpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271) 2018-11-01 02:30:36 +01:00
boolobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
bytearrayobject.c bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240) 2020-07-10 03:15:59 -07:00
bytes_methods.c closes bpo-39605: Fix some casts to not cast away const. (GH-18453) 2020-02-11 18:47:20 -08:00
bytesobject.c [3.8] bpo-36389: Backport debug enhancements from master (GH-16796) 2019-10-15 03:06:16 +02:00
call.c [3.8] bpo-36974: separate vectorcall functions for each calling convention (GH-13781) (#14782) 2019-07-23 12:39:51 +02:00
capsule.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
cellobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
classobject.c bpo-37233: optimize method_vectorcall in case of totalargs == 0 (GH-14550) 2019-07-03 06:06:38 -07:00
codeobject.c Document CodeType.replace (GH-17776) 2019-12-31 22:27:56 -08:00
complexobject.c closes bpo-39415: Remove unused codes from longobject.c complexobject.c floatobject.c. (GH-18105) 2020-01-21 19:26:34 -08:00
descrobject.c bpo-39884: Add method name in "bad call flags" error (GH-18944) (GH-18956) 2020-03-12 13:37:02 +01:00
dict-common.h bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) 2018-04-19 22:41:19 -07:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c [3.8] bpo-38588: Fix possible crashes in dict and list when calling P… (GH-17764) 2019-12-31 04:15:36 +00:00
enumobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
exceptions.c [3.8] [3.9] bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020) (GH-22046) 2020-09-01 21:40:48 +01:00
fileobject.c [3.8] bpo-37994: Fix silencing all errors if an attribute lookup fails. (GH-15630) (GH-15635) 2019-09-01 14:01:05 +03:00
floatobject.c closes bpo-39415: Remove unused codes from longobject.c complexobject.c floatobject.c. (GH-18105) 2020-01-21 19:26:34 -08:00
frameobject.c [3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456) 2019-08-24 13:41:53 +03:00
funcobject.c Restore tp_clear for function object. (#16502) 2019-10-01 09:49:36 +02:00
genobject.c [3.8] closes bpo-39630: Update pointers to string literals to be const char *. (GH-18511) 2020-02-13 21:05:00 -08:00
interpreteridobject.c bpo-38005: Remove support of string argument in InterpreterID(). (GH-16227) 2019-09-25 08:56:05 -07:00
iterobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
listobject.c [3.8] bpo-39453: Fix contains method of list to hold strong references (GH-18204) 2020-02-17 10:13:52 +01:00
listsort.txt Fixes in sorting descriptions (GH-18317) 2020-02-03 16:50:29 -08:00
lnotab_notes.txt bpo-38115: Deal with invalid bytecode offsets in lnotab (GH-16079) (GH-16464) 2019-09-28 08:22:00 -07:00
longobject.c closes bpo-39415: Remove unused codes from longobject.c complexobject.c floatobject.c. (GH-18105) 2020-01-21 19:26:34 -08:00
memoryobject.c Give proper credits for the memoryview implementation. (GH-18626) (#18642) 2020-02-24 11:52:10 +01:00
methodobject.c bpo-39884: Add method name in "bad call flags" error (GH-18944) (GH-18956) 2020-03-12 13:37:02 +01:00
moduleobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
namespaceobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
object.c bpo-38400 Don't check for NULL linked list pointers in _PyObject_IsFreed (GH-16630) 2020-01-19 15:43:37 -08:00
obmalloc.c closes bpo-30364: Replace deprecated no_address_safety_analysis attribute. (GH-17702) 2019-12-26 19:10:52 -08:00
odictobject.c [3.8] bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) (GH-18756) 2020-03-02 23:55:20 +00:00
picklebufobject.c bpo-36785: PEP 574 implementation (GH-7076) 2019-05-26 17:10:09 +02:00
rangeobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
setobject.c [3.8] bpo-37994: Fix silencing all errors if an attribute lookup fails. (GH-15630) (GH-15635) 2019-09-01 14:01:05 +03:00
sliceobject.c bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 2019-05-30 19:13:39 -07:00
structseq.c [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
tupleobject.c Fix a possible refleak in tupleobject.c (GH-19018) 2020-03-15 12:55:39 -07:00
typeobject.c bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528) 2020-07-18 14:37:43 -07:00
typeslots.inc add Py_tp_finalize slot (closes #24345) 2015-06-01 10:12:48 -05:00
typeslots.py Issue #26662: Set PYTHON_FOR_GEN in configure 2016-07-26 12:48:08 +02:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c bpo-39605: Remove a cast that causes a warning. (GH-18473) 2020-02-11 19:52:46 -08:00
unicodetype_db.h closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214) 2019-05-08 20:59:35 -07:00
weakrefobject.c [3.8] bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) (GH-16662) 2019-10-08 21:38:11 +01:00

README

Source files for various builtin objects