diff options
author | Dino Viehland <dinov@microsoft.com> | 2017-06-13 01:46:35 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2017-06-13 01:46:35 (GMT) |
commit | 2997fec01ee7300c6d5940e6c55e4ccf9f56f1b5 (patch) | |
tree | 4564d8aaf56739653666c834f29028b918f97173 /Misc/NEWS | |
parent | f59cac4b6458e5c47e24a39ba46fb178c3766577 (diff) | |
download | cpython-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 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -+++++++++++ ++++++++++++ Python News +++++++++++ @@ -10,6 +10,8 @@ What's New in Python 3.6.2 release candidate 1? Core and Builtins ----------------- +- bpo-30604: Move co_extra_freefuncs to not be per-thread to avoid crashes + - bpo-29104: Fixed parsing backslashes in f-strings. - bpo-27945: Fixed various segfaults with dict when input collections are |