STINNER Victor <[email protected]> added the comment:
The folowing test is enough to reproduce the leak:
def test_ids_global(self):
interp1 = interpreters.create()
script, rpipe = _captured_script("pass")
interpreters.run_string(interp1, script)
rpipe.close()
interp2 = interpreters.create()
script, rpipe = _captured_script("pass")
interpreters.run_string(interp2, script)
rpipe.close()
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40071>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com