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 pablogsal, vstinner
Date 2019-12-04.09:56:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575453362.16.0.769537515337.issue38962@roundup.psfhosted.org>
In-reply-to
Content
"""
5 tests failed again:
    test__xxsubinterpreters test_atexit test_capi test_httpservers
    test_threading
"""

I merged Pablo's fix for test_httpservers.

With PR 17457 + PR 17453 (and the test_httpservers fix), the 5 tests don't leak anymore.

I am fine with PR 17457 and PR 17453, I added some comments.

I would prefer to avoid a revert (PR 17455) if possible ;-)

--

Except of PR 17453 which was my fault in my refactoring work, the problem is the work on subinterpreters doesn't introduce regressions but only reveal existing issues.

Example with Python compiled in the debug mode (master branch):

$ ./python -X showrefcount -c pass
[18564 refs, 6496 blocks]

Python "leaks" 18564 references at exit.

My work is to better isolate subinterpreters from the main interpreter, and so the missing clean up code is revealed by reference leak buildbot checks.
History
Date User Action Args
2019-12-04 09:56:02vstinnersetrecipients: + vstinner, pablogsal
2019-12-04 09:56:02vstinnersetmessageid: <1575453362.16.0.769537515337.issue38962@roundup.psfhosted.org>
2019-12-04 09:56:02vstinnerlinkissue38962 messages
2019-12-04 09:56:01vstinnercreate