summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-01-20 10:19:46 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-01-20 10:19:46 (GMT)
commitb56837a03358ee2a3374fc0004488179c6771442 (patch)
tree59d848efeabdc78d807d2eb3c462635f7cf3876a /Misc
parent5ccbf79eaea74814a16618879919ff470dc5131f (diff)
parentbfd316e750bc3040c08d1b5872e2de188e8c1e5f (diff)
downloadcpython-b56837a03358ee2a3374fc0004488179c6771442.zip
cpython-b56837a03358ee2a3374fc0004488179c6771442.tar.gz
cpython-b56837a03358ee2a3374fc0004488179c6771442.tar.bz2
Merge 3.5
Issue #26154: Add a new private _PyThreadState_UncheckedGet() function.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 82221b4..46464de 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,13 @@ Release date: tba
Core and Builtins
-----------------
+- Issue #26154: Add a new private _PyThreadState_UncheckedGet() function to get
+ the current Python thread state, but don't issue a fatal error if it is NULL.
+ This new function must be used instead of accessing directly the
+ _PyThreadState_Current variable. The variable is no more exposed since
+ Python 3.5.1 to hide the exact implementation of atomic C types, to avoid
+ compiler issues.
+
- Issue #25791: Trying to resolve a relative import without __spec__ or
__package__ defined now raises an ImportWarning