STINNER Victor <vstin...@python.org> added the comment:
The current workaround is to disable pymalloc when Python is built with EXPERIMENTAL_ISOLATED_SUBINTERPRETERS: _PyPreConfig_InitCompatConfig(PyPreConfig *config): #ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS /* bpo-40512: pymalloc is not compatible with subinterpreters, force usage of libc malloc() which is thread-safe. */ #ifdef Py_DEBUG config->allocator = PYMEM_ALLOCATOR_MALLOC_DEBUG; #else config->allocator = PYMEM_ALLOCATOR_MALLOC; #endif #else ... #endif ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43313> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com