Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-102304: Move _Py_RefTotal to _PyRuntimeState#102543
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
ericsnowcurrently commented Mar 8, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
ericsnowcurrently commented Mar 8, 2023
8af10a5 to f382c4aComparebedevere-bot commented Mar 17, 2023
🤖 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. |
ericsnowcurrently commented Mar 20, 2023
All the refleak buildbots are happy with this PR. |
bedevere-bot commented Mar 20, 2023
|
bedevere-bot commented Mar 20, 2023
|
ericsnowcurrently commented Mar 20, 2023
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_RefTotaldirectly would have to start using_Py_GetGlobalRefTotal()instead.