[issue44184] crash on windows invoking flake8
STINNER Victor
report at bugs.python.org
Fri May 21 18:56:32 EDT 2021
STINNER Victor <vstinner at python.org> added the comment:
The issue is fixed by:
commit 615069eb08494d089bf24e43547fbc482ed699b8
Author: Victor Stinner <vstinner at python.org>
Date: Fri May 21 19:19:54 2021 +0200
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.
----------
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44184>
_______________________________________
More information about the Python-bugs-list
mailing list