Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-76785: Fix Windows Refleak in test_interpreters #117913

Merged
merged 2 commits into from Apr 16, 2024

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Apr 16, 2024

gh-117662 introduced some refleaks, or, rather, exposed some existing refleaks. The leaks are coming when test.support.os_helper is imported in a "legacy" interpreter. I've updated test.test_interpreters.utils to avoid importing os_helper, which fixes the leaks. I'll address the root cause separately.

@ericsnowcurrently
Copy link
Member Author

!buildbot AMD64 Windows11 Refleaks

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @ericsnowcurrently for commit c0e665b 🤖

The command will test the builders whose names match following regular expression: AMD64 Windows11 Refleaks

The builders matched are:

  • AMD64 Windows11 Refleaks PR

@ericsnowcurrently ericsnowcurrently merged commit 3831144 into python:main Apr 16, 2024
33 checks passed
@ericsnowcurrently ericsnowcurrently deleted the fix-windows-refleak branch April 16, 2024 02:16
@encukou
Copy link
Member

encukou commented Apr 16, 2024

Thank you!

diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…7913)

pythongh-117662 introduced some refleaks, or, rather, exposed some existing refleaks.  The leaks are coming when test.support.os_helper is imported in a "legacy" interpreter.  I've updated test.test_interpreters.utils to avoid importing os_helper, which fixes the leaks.  I'll address the root cause separately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants