diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-01 23:44:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-01 23:44:07 (GMT) |
commit | 18b1fdebe0cd5e601aa341227c13ec9d89bdf32c (patch) | |
tree | 701bc6f8ffcafff8eddc462192276a4d483f1a7b /Doc/whatsnew | |
parent | 0530f4f64629ff97f3feb7524da0833b9535e8b6 (diff) | |
download | cpython-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.rst | 7 |
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`.) |