Skip to content

Commit 28d369e

Browse files
gh-102304: Add a What's New Entry About _Py_RefTotal (gh-102845)
#102304
1 parent ad77d16 commit 28d369e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.12.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,11 @@ Porting to Python 3.12
10361036
functions that set the error indicator now normalize the exception
10371037
before storing it. (Contributed by Mark Shannon in :gh:`101578`.)
10381038

1039+
* ``_Py_RefTotal`` is no longer authoritative and only kept around
1040+
for ABI compabitility. Note that it is an internal global and only
1041+
available on debug builds. If you happen to be using it then you'll
1042+
need to start using ``_Py_GetGlobalRefTotal()``.
1043+
10391044
Deprecated
10401045
----------
10411046

0 commit comments

Comments
 (0)