This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients belopolsky, davin, emilyemorehouse, eric.snow, miss-islington, nanjekyejoannah, ncoghlan, ned.deily, pablogsal, pitrou, pmpp, steve.dower, vstinner, zach.ware
Date 2020-06-02.21:12:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591132326.64.0.806562496142.issue32604@roundup.psfhosted.org>
In-reply-to
Content
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")
---
History
Date User Action Args
2020-06-02 21:12:06vstinnersetrecipients: + vstinner, ncoghlan, belopolsky, pitrou, ned.deily, pmpp, eric.snow, zach.ware, steve.dower, davin, emilyemorehouse, pablogsal, miss-islington, nanjekyejoannah
2020-06-02 21:12:06vstinnersetmessageid: <1591132326.64.0.806562496142.issue32604@roundup.psfhosted.org>
2020-06-02 21:12:06vstinnerlinkissue32604 messages
2020-06-02 21:12:06vstinnercreate