summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-01 23:44:07 (GMT)
committerGitHub <noreply@github.com>2023-07-01 23:44:07 (GMT)
commit18b1fdebe0cd5e601aa341227c13ec9d89bdf32c (patch)
tree701bc6f8ffcafff8eddc462192276a4d483f1a7b /Doc/whatsnew
parent0530f4f64629ff97f3feb7524da0833b9535e8b6 (diff)
downloadcpython-18b1fdebe0cd5e601aa341227c13ec9d89bdf32c.zip
cpython-18b1fdebe0cd5e601aa341227c13ec9d89bdf32c.tar.gz
cpython-18b1fdebe0cd5e601aa341227c13ec9d89bdf32c.tar.bz2
gh-106320: Remove _PyInterpreterState_Get() alias (#106321)
Replace calls to the (removed) slow _PyInterpreterState_Get() with fast inlined _PyInterpreterState_GET() function.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.13.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 628945f..8f737c5 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -605,3 +605,10 @@ Removed
* Remove ``cpython/pytime.h`` header file: it only contained private functions.
(Contributed by Victor Stinner in :gh:`106316`.)
+
+* Remove ``_PyInterpreterState_Get()`` alias to
+ :c:func:`PyInterpreterState_Get()` which was kept for backward compatibility
+ with Python 3.8. The `pythoncapi-compat project
+ <https://github.com/python/pythoncapi-compat/>`__ can be used to get
+ :c:func:`PyInterpreterState_Get()` on Python 3.8 and older.
+ (Contributed by Victor Stinner in :gh:`106320`.)