| route-pattern | /:user_id/:repository/pull/:id/commits/:range(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:64172a3e-cc7e-82ee-c4ed-e1ca0202fcbc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9442:14355A:6764C3A:8DCEE63:699630AB |
| html-safe-nonce | a82c78779d9b0a4a89ab6bef8d0cf5741b346e5ab72fe8fc2cdcc56338805013 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDQyOjE0MzU1QTo2NzY0QzNBOjhEQ0VFNjM6Njk5NjMwQUIiLCJ2aXNpdG9yX2lkIjoiMjQwOTg4MDEwNjg3NTM2NzU5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e3c4d90b766b8852c78a1734b443658c365a08147095d83544997d47f9d109c1 |
| hovercard-subject-tag | pull_request:1362212444 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772 |
| twitter:image | https://avatars.githubusercontent.com/u/52372310?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/52372310?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 979c1ab77a40e0dbb8d76f1c427190824693a0e72e7a954636654843f3881905 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 999924f6ca451247a9a3a0ef516776ac16e7135f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772 |
| Reload | https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772 |
| Reload | https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gpshead | https://github.com/gpshead |
| python:main | https://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 page | https://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 page | https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772 |
| Please reload this page | https://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 page | https://github.com/python/cpython/pull/104826/commits/0926f6f1b14e8529fc74833a82cc24253d3e7772 |
|
| https://github.com/gpshead |
| gpshead | https://github.com/python/cpython/commits?author=gpshead |
| Misc/NEWS.d/next/Core and Builtins/2023-05-24-12-10-54.gh-issue-104690.HX3Jou.rst | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |