-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-102304: Move _Py_RefTotal to _PyRuntimeState #102543
gh-102304: Move _Py_RefTotal to _PyRuntimeState #102543
Conversation
8af10a5
to
f382c4a
Compare
🤖 New build scheduled with the buildbot fleet by @ericsnowcurrently for commit 2fb3259 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
All the refleak buildbots are happy with this PR. |
|
|
gh-102846 should take care of those buildbots. |
The essentially eliminates the global variable, with the associated benefits. This is also a precursor to isolating this bit of state to PyInterpreterState. Folks that currently read _Py_RefTotal directly would have to start using _Py_GetGlobalRefTotal() instead. python#102304
Some debug-only code slipped in with pythongh-102543. python#102304
The essentially eliminates the global variable, with the associated benefits. This is also a precursor to isolating this bit of state to PyInterpreterState. Folks that currently read _Py_RefTotal directly would have to start using _Py_GetGlobalRefTotal() instead. python#102304
Some debug-only code slipped in with pythongh-102543. python#102304
The essentially eliminates the global variable, with the associated benefits. This is also a precursor to isolating this bit of state to
PyInterpreterState
.Folks that currently read
_Py_RefTotal
directly would have to start using_Py_GetGlobalRefTotal()
instead.