summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-07-25 17:23:53 (GMT)
committerGitHub <noreply@github.com>2018-07-25 17:23:53 (GMT)
commit60b04c9f6fb87522a62ab6b95db9f8a09aef42d4 (patch)
treeaaceeb9975ea792eb997e6c6904d5d4e23da10c8 /Include
parent96d1e69a12ed8ab80203277e1abdaf573457a964 (diff)
downloadcpython-60b04c9f6fb87522a62ab6b95db9f8a09aef42d4.zip
cpython-60b04c9f6fb87522a62ab6b95db9f8a09aef42d4.tar.gz
cpython-60b04c9f6fb87522a62ab6b95db9f8a09aef42d4.tar.bz2
bpo-34228: Allow PYTHONTRACEMALLOC=0 (GH-8467)
PYTHONTRACEMALLOC=0 environment variable and -X tracemalloc=0 command line option are now allowed to disable explicitly tracemalloc at startup.
Diffstat (limited to 'Include')
-rw-r--r--Include/pystate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index fe14832..2c70505 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -232,6 +232,7 @@ typedef struct {
.install_signal_handlers = -1, \
.ignore_environment = -1, \
.use_hash_seed = -1, \
+ .tracemalloc = -1, \
.coerce_c_locale = -1, \
.utf8_mode = -1, \
.argc = -1, \