| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a9c294c9-86bb-98bd-5a18-84fcc1177197 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A97C:3BA0DA:69CF1:88A7B:696AF8E2 |
| html-safe-nonce | 22c23dbe24509594c1f1d3df0bfff4b70c09d574c3cc9e348e95dec46f7c948d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTdDOjNCQTBEQTo2OUNGMTo4OEE3Qjo2OTZBRjhFMiIsInZpc2l0b3JfaWQiOiI4NTczMjg1MTI2MDEzNTY1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 58f23f9f7a1ede6d8c61544c894e493427a8568c1cd94d49d6159315fb546571 |
| hovercard-subject-tag | pull_request:122344561 |
| 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/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/1802/files |
| twitter:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| og:image:alt | (based on #1748)
https://bugs.python.org/issue30439 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/1802/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F1802%2Ffiles |
| 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%2F1802%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/1802/files |
| Reload | https://github.com/python/cpython/pull/1802/files |
| Reload | https://github.com/python/cpython/pull/1802/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/1802/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/1802/files |
|
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 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:master | https://github.com/python/cpython/tree/master |
| ericsnowcurrently:low-level-extra-functions | https://github.com/ericsnowcurrently/cpython/tree/low-level-extra-functions |
|
Conversation
2
| https://github.com/python/cpython/pull/1802 |
|
Commits
28
| https://github.com/python/cpython/pull/1802/commits |
|
Checks
0
| https://github.com/python/cpython/pull/1802/checks |
|
Files changed
| https://github.com/python/cpython/pull/1802/files |
| Please reload this page | https://github.com/python/cpython/pull/1802/files |
|
bpo-30439: Add some helpful low-level functions for subinterpreters.
| https://github.com/python/cpython/pull/1802/files#top |
|
Show all changes
28 commits
| https://github.com/python/cpython/pull/1802/files |
|
8eb5adf
Add the _interpreters module to the stdlib.
ericsnowcurrently Dec 14, 2016
| https://github.com/python/cpython/pull/1802/commits/8eb5adf33887ac566b0cc579866363f3d5a5f8d4 |
|
457567f
Add create() and destroy().
ericsnowcurrently Dec 29, 2016
| https://github.com/python/cpython/pull/1802/commits/457567f7dc0c2a86204466fbb56350fcf5c87ce0 |
|
e6af9f3
Finish nearly all the create/destroy tests.
ericsnowcurrently Jan 1, 2017
| https://github.com/python/cpython/pull/1802/commits/e6af9f31212a0ae24112ccbb357a4088959d3dfb |
|
335967e
Add run_string().
ericsnowcurrently Dec 29, 2016
| https://github.com/python/cpython/pull/1802/commits/335967e0e36d60047992f0ef757a8c3c42d0d71f |
|
d2df973
Get tricky tests working.
ericsnowcurrently Jan 2, 2017
| https://github.com/python/cpython/pull/1802/commits/d2df97381f25188fb7c735b46720d944af266921 |
|
b70a496
Add a test for a still running interpreter when main exits.
ericsnowcurrently Jan 2, 2017
| https://github.com/python/cpython/pull/1802/commits/b70a496e509bced08eb22a0931418ecb66e735e0 |
|
6f2d28f
Add run_string_unrestricted().
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/6f2d28fd43e60817f34ca950732ad7385c81f5be |
|
80a931b
Exit out of the child process.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/80a931b42a67795528315eb2eb8e54ca2b941240 |
|
6aa7d9c
Resolve several TODOs.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/6aa7d9cf1878aa3b18b60a6f20169707755cc6e9 |
|
083e13c
Set up the execution namespace before switching threads.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/083e13c01f7c9a840cb8dd5a9268a41aa622f4b0 |
|
ce081a7
Run in a copy of __main__.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/ce081a7d49184cad516f80dfd0eaaf34548a1073 |
|
ec05cf5
Close stdin and stdout after the proc finishes.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/ec05cf5f6f9cf32d1cc5992a579e6db105831ad0 |
|
fe90466
Clean up a test.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/fe9046614fbf4f73b5e08783d2683061aee162c7 |
|
9082017
Chain exceptions during cleanup.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/90820179ef8aae5ebd3bd03691cc29b11ab25cc0 |
|
21865d4
Finish the module docs.
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/21865d4c0ff85ad92da8e08229e7514c12c07fb8 |
|
0342a4f
Fix docs.
ericsnowcurrently May 23, 2017
| https://github.com/python/cpython/pull/1802/commits/0342a4f92b82e962983bf6d6d0c240631dc630f7 |
|
e9d9b04
Fix includes.
ericsnowcurrently Dec 5, 2017
| https://github.com/python/cpython/pull/1802/commits/e9d9b04e0ca0b6d34f9bf92c069ea967d1e061b3 |
|
722ae94
Add _interpreters.is_shareable().
ericsnowcurrently Nov 28, 2017
| https://github.com/python/cpython/pull/1802/commits/722ae943150387f19aaa139ee403c4f16d1f69cb |
|
061ae13
Add _PyObject_CheckShareable().
ericsnowcurrently Dec 4, 2017
| https://github.com/python/cpython/pull/1802/commits/061ae139883197878bbef6e60eea226afebb2c2e |
|
9a365ec
Add _PyCrossInterpreterData.
ericsnowcurrently Dec 4, 2017
| https://github.com/python/cpython/pull/1802/commits/9a365ecd9e58393ab3f7198290357f471168e509 |
|
8f299d4
Use the shared data in run() safely.
ericsnowcurrently Dec 7, 2017
| https://github.com/python/cpython/pull/1802/commits/8f299d42e3b25b8b150845b6e99680414f8de87b |
|
92029a1
Do not use a copy of the __main__ ns.
ericsnowcurrently Dec 7, 2017
| https://github.com/python/cpython/pull/1802/commits/92029a12c8dac316a338347d1c54c8a068501b5e |
|
52c9c2f
Never return the execution namespace.
ericsnowcurrently Dec 8, 2017
| https://github.com/python/cpython/pull/1802/commits/52c9c2fa237cdbf00e4f8fc8a0eb3e2c80242e02 |
|
a797883
Group sharing-related code.
ericsnowcurrently Dec 8, 2017
| https://github.com/python/cpython/pull/1802/commits/a797883ca2511aeeeb0393ac80b357f23e83efff |
|
777838a
Fix a refcount.
ericsnowcurrently Dec 8, 2017
| https://github.com/python/cpython/pull/1802/commits/777838a31bac3e758be4b422023233c34a183e42 |
|
ab8f175
Add get_current() and enumerate().
ericsnowcurrently Dec 29, 2016
| https://github.com/python/cpython/pull/1802/commits/ab8f1755f33940b098810c2ff8aa62889d2b38fc |
|
c50c51c
Add is_running().
ericsnowcurrently Dec 29, 2016
| https://github.com/python/cpython/pull/1802/commits/c50c51c728d735fe32d661bc6c62a1f971e8f262 |
|
271d20d
Add get_main().
ericsnowcurrently Jan 4, 2017
| https://github.com/python/cpython/pull/1802/commits/271d20de5777c243043f13197b6d935946684d32 |
|
Clear filters
| https://github.com/python/cpython/pull/1802/files |
| Please reload this page | https://github.com/python/cpython/pull/1802/files |
| Please reload this page | https://github.com/python/cpython/pull/1802/files |
|
_interpreters.rst
| https://github.com/python/cpython/pull/1802/files#diff-fb61917f0600cff3379615aab8e2393629f240db1ed4648581cbb99402604fda |
|
concurrency.rst
| https://github.com/python/cpython/pull/1802/files#diff-4ac244102b8759dc4d7762ebd58987062f459687541f800217f0d5e28dba220b |
|
pystate.h
| https://github.com/python/cpython/pull/1802/files#diff-bccfc01bd96b58c022dde77486b8a896cbb31d7581bd4a4156b32c3654afe468 |
|
test__interpreters.py
| https://github.com/python/cpython/pull/1802/files#diff-a7c520fd3def33d71197bb4a8dfa83d24d0fbf40c591e6e172d4e333119aefc8 |
|
_interpretersmodule.c
| https://github.com/python/cpython/pull/1802/files#diff-a5f60f3fb5ce69862b5b8e5668713db4e14715bec8c7a6b1f10e47b7d4517543 |
|
setup.py
| https://github.com/python/cpython/pull/1802/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
| Doc/library/_interpreters.rst | https://github.com/python/cpython/pull/1802/files#diff-fb61917f0600cff3379615aab8e2393629f240db1ed4648581cbb99402604fda |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/271d20de5777c243043f13197b6d935946684d32/Doc/library/_interpreters.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1802/{{ revealButtonHref }} |
| Doc/library/concurrency.rst | https://github.com/python/cpython/pull/1802/files#diff-4ac244102b8759dc4d7762ebd58987062f459687541f800217f0d5e28dba220b |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/271d20de5777c243043f13197b6d935946684d32/Doc/library/concurrency.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1802/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1802/files#diff-4ac244102b8759dc4d7762ebd58987062f459687541f800217f0d5e28dba220b |
| Include/internal/pystate.h | https://github.com/python/cpython/pull/1802/files#diff-bccfc01bd96b58c022dde77486b8a896cbb31d7581bd4a4156b32c3654afe468 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/271d20de5777c243043f13197b6d935946684d32/Include/internal/pystate.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1802/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1802/files#diff-bccfc01bd96b58c022dde77486b8a896cbb31d7581bd4a4156b32c3654afe468 |
|
| https://github.com/python/cpython/pull/1802/files#diff-bccfc01bd96b58c022dde77486b8a896cbb31d7581bd4a4156b32c3654afe468 |
| Please reload this page | https://github.com/python/cpython/pull/1802/files |
|
| 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 |