From: Eric Snow Date: Mon, 20 Mar 2023 16:35:49 +0000 (-0600) Subject: gh-102304: Add a What's New Entry About _Py_RefTotal (gh-102845) X-Git-Tag: v3.12.0a7~124 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28d369e070652e8f2274101d72131e3140dfadf7;p=thirdparty%2FPython%2Fcpython.git gh-102304: Add a What's New Entry About _Py_RefTotal (gh-102845) https://github.com/python/cpython/issues/102304 --- diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index cdd26cd19e72..af52c7cb670c 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 ----------