summaryrefslogtreecommitdiffstats
path: root/Python/pyfpe.c
diff options
context:
space:
mode:
authorDino Viehland <dinov@microsoft.com>2017-06-13 01:46:35 (GMT)
committerNed Deily <nad@python.org>2017-06-13 01:46:35 (GMT)
commit2997fec01ee7300c6d5940e6c55e4ccf9f56f1b5 (patch)
tree4564d8aaf56739653666c834f29028b918f97173 /Python/pyfpe.c
parentf59cac4b6458e5c47e24a39ba46fb178c3766577 (diff)
downloadcpython-2997fec01ee7300c6d5940e6c55e4ccf9f56f1b5.zip
cpython-2997fec01ee7300c6d5940e6c55e4ccf9f56f1b5.tar.gz
cpython-2997fec01ee7300c6d5940e6c55e4ccf9f56f1b5.tar.bz2
[3.6] bpo-30604: Move co_extra_freefuncs to interpreter state to avoid crashes in threads (#2015)
* Move co_extra_freefuncs to interpreter state to avoid crashes in multi-threaded scenarios involving deletion of code objects * Don't require that extra be zero initialized * Build test list instead of defining empty test class * Ensure extra is always assigned on success * Keep the old fields in the thread state object, just don't use them Add new linked list of code extra objects on a per-interpreter basis so that interpreter state size isn't changed * Rename __PyCodeExtraState_Get and add comment about it going away in 3.7 Fix sort order of import's in test_code.py * Remove an extraneous space * Remove docstrings for comments * Touch up formatting * Fix casing of coextra local * Fix casing of another variable * Prefix PyCodeExtraState with __ to match C API for getting it * Update NEWS file for bpo-30604
Diffstat (limited to 'Python/pyfpe.c')
0 files changed, 0 insertions, 0 deletions