STINNER Victor <vstin...@python.org> added the comment:
The following test is enough to reproduce the leak: --- import unittest import _xxsubinterpreters as _interpreters class TestInterpreterDestroy(unittest.TestCase): def tearDown(self): for interp_id in _interpreters.list_all(): if interp_id == 0: # main continue _interpreters.destroy(interp_id) def test_from_current(self): interp_id = _interpreters.create(isolated=True) _interpreters.run_string(interp_id, "import select") --- ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32604> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com