Commit c985636f authored by Victor Stinner's avatar Victor Stinner

Issue #26588: Don't call tracemalloc_init() at module initilization

So it's possible to get debug messages in test_tracemalloc.
parent 16da1c32
......@@ -1644,8 +1644,10 @@ PyInit__tracemalloc(void)
if (m == NULL)
return NULL;
#if 0
if (tracemalloc_init() < 0)
return NULL;
#endif
return m;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment