cpython/Include
Miss Islington (bot) 298ee657ab
bpo-44184: Fix subtype_dealloc() for freed type (GH-26274)
Fix a crash at Python exit when a deallocator function removes the
last strong reference to a heap type.

Don't read type memory after calling basedealloc() since
basedealloc() can deallocate the type and free its memory.

_PyMem_IsPtrFreed() argument is now constant.
(cherry picked from commit 615069eb08)

Co-authored-by: Victor Stinner <vstinner@python.org>
2021-07-15 16:36:51 -07:00
..
cpython [3.9] bpo-43710: Rollback the 3.9 bpo-42500 fix, it broke the ABI in 3.9.3 (#25179) 2021-04-04 13:02:29 +02:00
internal bpo-44184: Fix subtype_dealloc() for freed type (GH-26274) 2021-07-15 16:36:51 -07:00
abstract.h
asdl.h
ast.h
bitset.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytesobject.h
cellobject.h
ceval.h
classobject.h
code.h
codecs.h
compile.h
complexobject.h
context.h
datetime.h
descrobject.h
dictobject.h
dynamic_annotations.h
enumobject.h
errcode.h
eval.h
exports.h
fileobject.h
fileutils.h
floatobject.h
frameobject.h
funcobject.h
genericaliasobject.h
genobject.h
graminit.h
grammar.h
import.h
interpreteridobject.h
intrcheck.h
iterobject.h
listobject.h
longintrepr.h
longobject.h
marshal.h
memoryobject.h
methodobject.h
modsupport.h
moduleobject.h
namespaceobject.h
node.h
object.h
objimpl.h
odictobject.h
opcode.h
osdefs.h
osmodule.h
parsetok.h
patchlevel.h Post 3.9.6 2021-06-28 11:48:44 +02:00
picklebufobject.h
py_curses.h
pyarena.h
pycapsule.h
pyctype.h bpo-43816: Add extern "C" to Include/cpython/pyctype.h (GH-25365) (GH-25387) 2021-04-13 14:20:13 +02:00
pydebug.h
pydtrace.d
pydtrace.h
pyerrors.h
pyexpat.h
pyfpe.h
pyframe.h
pyhash.h
pylifecycle.h bpo-42591: Export missing Py_FrozenMain() symbol (GH-23730) (GH-23734) 2020-12-15 00:31:54 +01:00
pymacconfig.h
pymacro.h
pymath.h
pymem.h
pyport.h bpo-41617: Add _Py__has_builtin() macro (GH-23260) (GH-23262) 2020-11-13 16:38:06 +01:00
pystate.h
pystrcmp.h
pystrhex.h
pystrtod.h
Python-ast.h
Python.h bpo-44363: Get test_capi passing with address sanitizer (GH-26639) 2021-06-10 05:01:22 -07:00
pythonrun.h
pythread.h
pytime.h
rangeobject.h
setobject.h
sliceobject.h
structmember.h
structseq.h
symtable.h
sysmodule.h
token.h
traceback.h
tracemalloc.h
tupleobject.h
typeslots.h
ucnhash.h
unicodeobject.h
warnings.h
weakrefobject.h