summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_runtime_init.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-12 15:44:23 (GMT)
committerGitHub <noreply@github.com>2022-12-12 15:44:23 (GMT)
commit8790d4d31fcd3abaccf31d27f72a8684adfc9dee (patch)
tree5c1f124cb8c98bed097f002004901ee25ad6fc6a /Include/internal/pycore_runtime_init.h
parent1583c6e326a8454d3c806763620e1329bf6b7cbe (diff)
downloadcpython-8790d4d31fcd3abaccf31d27f72a8684adfc9dee.zip
cpython-8790d4d31fcd3abaccf31d27f72a8684adfc9dee.tar.gz
cpython-8790d4d31fcd3abaccf31d27f72a8684adfc9dee.tar.bz2
gh-81057: Move tracemalloc Globals to _PyRuntimeState (gh-100151)
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
-rw-r--r--Include/internal/pycore_runtime_init.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Include/internal/pycore_runtime_init.h b/Include/internal/pycore_runtime_init.h
index b569e58..029357d 100644
--- a/Include/internal/pycore_runtime_init.h
+++ b/Include/internal/pycore_runtime_init.h
@@ -50,13 +50,11 @@ extern "C" {
in accordance with the specification. */ \
.autoTSSkey = Py_tss_NEEDS_INIT, \
}, \
- .tracemalloc = { \
- .config = _PyTraceMalloc_Config_INIT, \
- }, \
.dtoa = _dtoa_runtime_state_INIT(runtime), \
.fileutils = { \
.force_ascii = -1, \
}, \
+ .tracemalloc = _tracemalloc_runtime_state_INIT, \
.float_state = { \
.float_format = _py_float_format_unknown, \
.double_format = _py_float_format_unknown, \