[Python-checkins] cpython: Issue #26588: one more assertion
victor.stinner
python-checkins at python.org
Tue Mar 22 13:52:14 EDT 2016
https://hg.python.org/cpython/rev/af388201c997
changeset: 100660:af388201c997
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Mar 22 18:48:50 2016 +0100
summary:
Issue #26588: one more assertion
files:
Modules/_tracemalloc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c
--- a/Modules/_tracemalloc.c
+++ b/Modules/_tracemalloc.c
@@ -992,6 +992,7 @@
tracemalloc_config.initialized = TRACEMALLOC_INITIALIZED;
DEBUG("tracemalloc_init(): done");
+assert(get_reentrant());
return 0;
}
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list