Skip to content

Commit 00962d2

Browse files
ericsnowcurrentlywarsaw
authored andcommitted
pythongh-102304: Add a What's New Entry About _Py_RefTotal (pythongh-102845)
python#102304
1 parent f3e8b5d commit 00962d2

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
@@ -1039,6 +1039,11 @@ Porting to Python 3.12
10391039
functions that set the error indicator now normalize the exception
10401040
before storing it. (Contributed by Mark Shannon in :gh:`101578`.)
10411041

1042+
* ``_Py_RefTotal`` is no longer authoritative and only kept around
1043+
for ABI compabitility. Note that it is an internal global and only
1044+
available on debug builds. If you happen to be using it then you'll
1045+
need to start using ``_Py_GetGlobalRefTotal()``.
1046+
10421047
Deprecated
10431048
----------
10441049

0 commit comments

Comments
 (0)