René's URL Explorer Experiment


Title: gh-104690 Disallow thread creation and fork at interpreter finalization by chgnrdv · Pull Request #104826 · python/cpython · GitHub

Open Graph Title: gh-104690 Disallow thread creation and fork at interpreter finalization by chgnrdv · Pull Request #104826 · python/cpython

X Title: gh-104690 Disallow thread creation and fork at interpreter finalization by chgnrdv · Pull Request #104826 · python/cpython

Description: Fixes #104690 In the following functions, check if interpreter is finalizing and in this case raise RuntimeError with appropriate message: _thread.start_new_thread posix.fork posix.fork1 posix.forkpty _posixsubprocess.fork_exec when a preexec_fn is used. Issue: gh-104690

Open Graph Description: Fixes #104690 In the following functions, check if interpreter is finalizing and in this case raise RuntimeError with appropriate message: _thread.start_new_thread posix.fork posix.fork1 posix.for...

X Description: Fixes #104690 In the following functions, check if interpreter is finalizing and in this case raise RuntimeError with appropriate message: _thread.start_new_thread posix.fork posix.fork1 posix.for...

Opengraph URL: https://github.com/python/cpython/pull/104826

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:64172a3e-cc7e-82ee-c4ed-e1ca0202fcbc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9442:14355A:6764C3A:8DCEE63:699630AB
html-safe-noncea82c78779d9b0a4a89ab6bef8d0cf5741b346e5ab72fe8fc2cdcc56338805013
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDQyOjE0MzU1QTo2NzY0QzNBOjhEQ0VFNjM6Njk5NjMwQUIiLCJ2aXNpdG9yX2lkIjoiMjQwOTg4MDEwNjg3NTM2NzU5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace3c4d90b766b8852c78a1734b443658c365a08147095d83544997d47f9d109c1
hovercard-subject-tagpull_request:1362212444
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
twitter:imagehttps://avatars.githubusercontent.com/u/52372310?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/52372310?s=400&v=4
og:image:altFixes #104690 In the following functions, check if interpreter is finalizing and in this case raise RuntimeError with appropriate message: _thread.start_new_thread posix.fork posix.fork1 posix.for...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None979c1ab77a40e0dbb8d76f1c427190824693a0e72e7a954636654843f3881905
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release999924f6ca451247a9a3a0ef516776ac16e7135f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104826%2Fcommits%2F0926f6f1b14e8529fc74833a82cc24253d3e7772
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104826%2Fcommits%2F0926f6f1b14e8529fc74833a82cc24253d3e7772
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
Reloadhttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
Reloadhttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
Conversation 16 https://github.com/python/cpython/pull/104826
Commits 16 https://github.com/python/cpython/pull/104826/commits
Checks 0 https://github.com/python/cpython/pull/104826/checks
Files changed https://github.com/python/cpython/pull/104826/files
Please reload this pagehttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
gh-104690 Disallow thread creation and fork at interpreter finalization https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772#top
Show all changes 16 commits https://github.com/python/cpython/pull/104826/files
15ecad5 Disallow thread creation and fork at interpreter finalization chgnrdv May 24, 2023 https://github.com/python/cpython/pull/104826/commits/15ecad5639880950c38efdc775bc48cd91b697a3
72095f3 improved error messages chgnrdv May 24, 2023 https://github.com/python/cpython/pull/104826/commits/72095f37efaccd81ac19ce9dd83eacba826efd4d
77443a0 added tests, changed test_threading.ThreadTests.test_fork_at_exit to … chgnrdv May 24, 2023 https://github.com/python/cpython/pull/104826/commits/77443a04886a82fa26d19e8bd9739b08894895f0
3134fbe 📜🤖 Added by blurb_it. blurb-it[bot] May 24, 2023 https://github.com/python/cpython/pull/104826/commits/3134fbe42b7d12376638c34a2f3bf1e3a03d82e2
530f785 Merge branch 'main' into disallow-thread-creation-and-fork-at-interp-… chgnrdv May 24, 2023 https://github.com/python/cpython/pull/104826/commits/530f7858beab1061947102114b19a673badb7fe9
d26b8db Merge branch 'main' into disallow-thread-creation-and-fork-at-interp-… chgnrdv May 26, 2023 https://github.com/python/cpython/pull/104826/commits/d26b8db9e52a36a84c9d57efbeffb961ea77f905
1c51471 Merge branch 'disallow-thread-creation-and-fork-at-interp-exit' of gi… chgnrdv May 26, 2023 https://github.com/python/cpython/pull/104826/commits/1c514711c551bf3a23151b1c6c17d75764ffb5c4
bbc8ca4 Suggested changes: chgnrdv May 26, 2023 https://github.com/python/cpython/pull/104826/commits/bbc8ca4ae24dc5ba296a2923a355b77aeaac7626
bcbcb75 fixed test case in test_subprocess chgnrdv May 26, 2023 https://github.com/python/cpython/pull/104826/commits/bcbcb75ea595dee5cddde23b828506bcb4fcbdcd
0926f6f Reword and clarify the NEWS entry. gpshead May 26, 2023 https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
ec66e17 Merge branch 'main' into disallow-thread-creation-and-fork-at-interp-… gpshead May 26, 2023 https://github.com/python/cpython/pull/104826/commits/ec66e17df46ded9d8442b81e538da871883c204e
cda40a9 Merge branch 'main' into disallow-thread-creation-and-fork-at-interp-… chgnrdv May 26, 2023 https://github.com/python/cpython/pull/104826/commits/cda40a95c6181d15486d926492bba138de5d3d6b
64e7e47 Merge branch 'disallow-thread-creation-and-fork-at-interp-exit' of gi… chgnrdv May 26, 2023 https://github.com/python/cpython/pull/104826/commits/64e7e47c7a71a6ba55dd2f1be8dabbba57f74bdc
9d0a750 mentioned new behaviour and added warning about old one in atexit docs chgnrdv May 26, 2023 https://github.com/python/cpython/pull/104826/commits/9d0a750b4df25deb1ebb7ac0f115ecc7db81c1d1
deb9204 Cleanup atexit.rst wording. gpshead Jun 3, 2023 https://github.com/python/cpython/pull/104826/commits/deb9204d1bbaf07e2376c3102cc7dc3a769f46eb
be7de06 Merge branch 'main' into disallow-thread-creation-and-fork-at-interp-… gpshead Jun 3, 2023 https://github.com/python/cpython/pull/104826/commits/be7de068cbb0e519a0366aced1f4b24e45a035d5
Clear filters https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
Please reload this pagehttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
Please reload this pagehttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
Prev https://github.com/python/cpython/pull/104826/commits/bcbcb75ea595dee5cddde23b828506bcb4fcbdcd
Next https://github.com/python/cpython/pull/104826/commits/ec66e17df46ded9d8442b81e538da871883c204e
Please reload this pagehttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
Misc/NEWS.d/next/Core and Builtins/2023-05-24-12-10-54.gh-issue-104690.HX3Jou.rsthttps://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772#diff-3bda9d38a6bd08967804e39e1a5c5ee6accebf1c82ea5ac748d0a692998c5775
View file https://github.com/python/cpython/blob/0926f6f1b14e8529fc74833a82cc24253d3e7772/Misc/NEWS.d/next/Core%20and%20Builtins/2023-05-24-12-10-54.gh-issue-104690.HX3Jou.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/104826/commits/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.