From 28d369e070652e8f2274101d72131e3140dfadf7 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Mon, 20 Mar 2023 10:35:49 -0600 Subject: gh-102304: Add a What's New Entry About _Py_RefTotal (gh-102845) https://github.com/python/cpython/issues/102304 --- Doc/whatsnew/3.12.rst | 5 +++++ 1 file changed, 5 insertions(+) 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 ---------- -- cgit v0.12