commit | ad77d16a6252c2e616bf41b981a6d919c1122b4d | [log] [tgz] |
---|---|---|
author | Eric Snow <ericsnowcurrently@gmail.com> | Mon Mar 20 10:03:04 2023 -0600 |
committer | GitHub <noreply@github.com> | Mon Mar 20 10:03:04 2023 -0600 |
tree | 17a73242035ac8da8c0096effe17d665cdfe843b | |
parent | 96e05b62e827a6dee6c658fea9b4976dfd8d30e3 [diff] |
gh-102304: Move _Py_RefTotal to _PyRuntimeState (gh-102543) 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. https://github.com/python/cpython/issues/102304