Skip to content

Commit 457391d

Browse files
ericsnowcurrentlyFidget-Spinner
authored andcommitted
pythongh-102304: Add a What's New Entry About _Py_RefTotal (pythongh-102845)
python#102304
1 parent 2b10a8d commit 457391d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 5 additions & 0 deletions
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)