diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-11-15 16:45:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-15 16:45:11 (GMT) |
commit | 3c57971a2d3b6d2c6fd1f525ba2108fccb35add2 (patch) | |
tree | 697c28707c62e43c9a444af3069304b8fad2e54b /Objects/object.c | |
parent | 73943cbc4c5e97f71b76150c549d07e8ed00066b (diff) | |
download | cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.zip cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.tar.gz cpython-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.tar.bz2 |
gh-81057: Move Globals in Core Code to _PyRuntimeState (gh-99496)
This is the first of several changes to consolidate non-object globals in core code.
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index 01eede9..a499cb3 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -2001,7 +2001,7 @@ _PyTypes_FiniTypes(PyInterpreterState *interp) void _Py_NewReference(PyObject *op) { - if (_Py_tracemalloc_config.tracing) { + if (_PyRuntime.tracemalloc.config.tracing) { _PyTraceMalloc_NewReference(op); } #ifdef Py_REF_DEBUG |