diff options
| author | Eric Snow <ericsnowcurrently@gmail.com> | 2022-11-15 09:45:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-15 09:45:11 -0700 |
| commit | 3c57971a2d3b6d2c6fd1f525ba2108fccb35add2 (patch) | |
| tree | 697c28707c62e43c9a444af3069304b8fad2e54b /Objects/object.c | |
| parent | 73943cbc4c5e97f71b76150c549d07e8ed00066b (diff) | |
| download | cpython-git-3c57971a2d3b6d2c6fd1f525ba2108fccb35add2.tar.gz | |
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 01eede94d5..a499cb32b2 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 |
