Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.6k
Star
77.2k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
gh-80406: Finalise subinterpreters in Py_FinalizeEx()
- #17575
#17575
Closed
LewisGaul
wants to merge 21 commits into
python:main
python/cpython:main
from
LewisGaul:finalise-subinterps
LewisGaul/cpython:finalise-subinterps
Copy head branch name to clipboard
Conversation
Commits
21
(21)
Checks
Files changed
Closed
gh-80406: Finalise subinterpreters in Py_FinalizeEx()
#17575
LewisGaul
wants to merge 21 commits into
python:main
python/cpython:main
from
LewisGaul:finalise-subinterps
LewisGaul/cpython:finalise-subinterps
Copy head branch name to clipboard
Commits
Commits on Nov 21, 2019
Add test suggested by ncoghlan
LewisGaul
committed
23af5f5
View commit details
Copy full SHA for 23af5f5
Browse repository at this point
Commits on Dec 11, 2019
Finalise sub-interpreters in Py_FinalizeEx()
LewisGaul
committed
433663c
View commit details
Copy full SHA for 433663c
Browse repository at this point
Commits on Dec 13, 2019
Improve test name
LewisGaul
committed
48e1cfc
View commit details
Copy full SHA for 48e1cfc
Browse repository at this point
Switch back to main threadstate in test_audit_subinterpreter before calling Py_Finalize()
LewisGaul
committed
0400634
View commit details
Copy full SHA for 0400634
Browse repository at this point
Commits on Dec 14, 2019
📜🤖 Added by blurb_it.
blurb-it[bot]
authored
b79649c
View commit details
Copy full SHA for b79649c
Browse repository at this point
Commits on Jan 21, 2020
Markups including: switch from 'finalizing' flag to 'allow_new', add test to test_embed.py
LewisGaul
committed
8b1e7d9
View commit details
Copy full SHA for 8b1e7d9
Browse repository at this point
Merge branch 'finalise-subinterps' of github.com:LewisGaul/cpython into finalise-subinterps
LewisGaul
committed
fd6073a
View commit details
Copy full SHA for fd6073a
Browse repository at this point
Commits on Oct 20, 2020
Merge branch 'master' into finalise-subinterps
LewisGaul
committed
4bbd58f
View commit details
Copy full SHA for 4bbd58f
Browse repository at this point
Use '_' for unused variable in test_embed.py
Show description for 1095e66
LewisGaul
and
ericsnowcurrently
authored
1095e66
View commit details
Copy full SHA for 1095e66
Browse repository at this point
Commits on Oct 22, 2020
Fix struct position of 'allow_new' flag
LewisGaul
committed
675285d
View commit details
Copy full SHA for 675285d
Browse repository at this point
Add handling for unsupported case of calling Py_Finalize() from a subinterpreter
LewisGaul
committed
8e21788
View commit details
Copy full SHA for 8e21788
Browse repository at this point
Emit resource warning when calling Py_Finalize() with unfinalized subinterpreters
LewisGaul
committed
606c068
View commit details
Copy full SHA for 606c068
Browse repository at this point
Update Py_FinalizeEx() docs
LewisGaul
committed
e0789b0
View commit details
Copy full SHA for e0789b0
Browse repository at this point
Commits on Oct 23, 2020
Update test for resource warning when implicitly finalizing subinterpreters
LewisGaul
committed
dda99ce
View commit details
Copy full SHA for dda99ce
Browse repository at this point
Tidy up test_finalize_subinterps() testcase
LewisGaul
committed
847e8d2
View commit details
Copy full SHA for 847e8d2
Browse repository at this point
Add testcase for calling Py_Finalize() from a subinterpreter
LewisGaul
committed
a2fb0fc
View commit details
Copy full SHA for a2fb0fc
Browse repository at this point
Commits on Nov 23, 2020
Tweak subinterpreters still running ResourceWarning handling
LewisGaul
committed
d234528
View commit details
Copy full SHA for d234528
Browse repository at this point
Make calling PyFinalizeEx() from a subinterpreter a Py_FatalError
LewisGaul
committed
46a8619
View commit details
Copy full SHA for 46a8619
Browse repository at this point
Acquire interpreters mutex before setting allow_new=0 in PyFinalizeEx()
LewisGaul
committed
c89c0e5
View commit details
Copy full SHA for c89c0e5
Browse repository at this point
Merge remote-tracking branch 'upstream/master' into finalise-subinterps
LewisGaul
committed
c285f52
View commit details
Copy full SHA for c285f52
Browse repository at this point
Add back in the 'interp' variable to PyFinalizeEx() to fix the build
LewisGaul
committed
95cbfd4
View commit details
Copy full SHA for 95cbfd4
Browse repository at this point
You can’t perform that action at this time.