-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
GH-141509: Fix warning about remaining subinterpreters #141528
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
Merged
ZeroIntensity
merged 8 commits into
python:main
from
sergey-miryanov:141509-fix-suggestion-for-remaining-subinterpreters
Nov 14, 2025
Merged
GH-141509: Fix warning about remaining subinterpreters #141528
ZeroIntensity
merged 8 commits into
python:main
from
sergey-miryanov:141509-fix-suggestion-for-remaining-subinterpreters
Nov 14, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
ZeroIntensity
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- This changes a public API, so let's add a news entry.
- Since you didn't need to update any tests, that means that this code path is untested. Please add a test case for leaving subinterpreters unclosed.
Fix warning - suggest using
Interpreter.closeinstead of_interpeters.destroy.@ZeroIntensity Could you please take a look?