summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-03-20 16:35:49 (GMT)
committerGitHub <noreply@github.com>2023-03-20 16:35:49 (GMT)
commit28d369e070652e8f2274101d72131e3140dfadf7 (patch)
tree7af0b09a9a605cad84fd5c44f1342aa6e345ba38 /Doc
parentad77d16a6252c2e616bf41b981a6d919c1122b4d (diff)
downloadcpython-28d369e070652e8f2274101d72131e3140dfadf7.zip
cpython-28d369e070652e8f2274101d72131e3140dfadf7.tar.gz
cpython-28d369e070652e8f2274101d72131e3140dfadf7.tar.bz2
gh-102304: Add a What's New Entry About _Py_RefTotal (gh-102845)
https://github.com/python/cpython/issues/102304
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.12.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index cdd26cd..af52c7c 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -1036,6 +1036,11 @@ Porting to Python 3.12
functions that set the error indicator now normalize the exception
before storing it. (Contributed by Mark Shannon in :gh:`101578`.)
+* ``_Py_RefTotal`` is no longer authoritative and only kept around
+ for ABI compabitility. Note that it is an internal global and only
+ available on debug builds. If you happen to be using it then you'll
+ need to start using ``_Py_GetGlobalRefTotal()``.
+
Deprecated
----------