| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:22b4bf6f-33d5-bd0b-5f06-1481cf8e7e97 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DC96:196750:798FAF:A3BEC2:6969DD84 |
| html-safe-nonce | 87d360b3615fcefca337b15b62d35f80bf391d2256754edbbd7299544fc17a65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzk2OjE5Njc1MDo3OThGQUY6QTNCRUMyOjY5NjlERDg0IiwidmlzaXRvcl9pZCI6Ijc0ODg2MjU0NDA1NzQ3OTEwNDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 92b7834daa8eea9d1437dfde21de64399e979d20a2595077cbff06de07757a86 |
| hovercard-subject-tag | pull_request:170262765 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/5778/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1c2e0900f0c7020cb2b97abc89993a1128c2df6ef4d3264bff3e15df6483991d/python/cpython/pull/5778 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c2e0900f0c7020cb2b97abc89993a1128c2df6ef4d3264bff3e15df6483991d/python/cpython/pull/5778 |
| og:image:alt | The CPython runtime assumes that there is a one-to-one relationship (for a given interpreter) between PyThreadState and OS threads. Sending and receiving on a channel in the same interpreter was c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/5778#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5778 |
| 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%2F5778 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/5778 |
| Reload | https://github.com/python/cpython/pull/5778 |
| Reload | https://github.com/python/cpython/pull/5778 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/5778 |
|
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/5778 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/5778#issue-comment-box |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:master | https://github.com/python/cpython/tree/master |
| ericsnowcurrently:fix-thread-swap-same-interpreter | https://github.com/ericsnowcurrently/cpython/tree/fix-thread-swap-same-interpreter |
|
bpo-32604: Swap threads only if the interpreter is different.
| https://github.com/python/cpython/pull/5778#top |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:master | https://github.com/python/cpython/tree/master |
| ericsnowcurrently:fix-thread-swap-same-interpreter | https://github.com/ericsnowcurrently/cpython/tree/fix-thread-swap-same-interpreter |
|
Conversation
2
| https://github.com/python/cpython/pull/5778 |
|
Commits
2
| https://github.com/python/cpython/pull/5778/commits |
|
Checks
0
| https://github.com/python/cpython/pull/5778/checks |
|
Files changed
| https://github.com/python/cpython/pull/5778/files |
| Please reload this page | https://github.com/python/cpython/pull/5778 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#issue-298686993 |
| Please reload this page | https://github.com/python/cpython/pull/5778 |
| https://bugs.python.org/issue32604 | https://bugs.python.org/issue32604 |
| Please reload this page | https://github.com/python/cpython/pull/5778 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| February 20, 2018 17:14 | https://github.com/python/cpython/pull/5778#commits-pushed-3455570 |
|
| https://github.com/ericsnowcurrently |
| Add tests that ensure we properly handle restoring in same interpreter. | https://github.com/python/cpython/pull/5778/commits/34555702490006a07b42ab923a51f2c0e7f3fee1 |
| 3455570 | https://github.com/python/cpython/pull/5778/commits/34555702490006a07b42ab923a51f2c0e7f3fee1 |
|
| https://github.com/ericsnowcurrently |
| Swap threads only if the interpreter is different. | https://github.com/python/cpython/pull/5778/commits/e1d038366a16b7bd0961a7c56cf1562aff541216 |
| e1d0383 | https://github.com/python/cpython/pull/5778/commits/e1d038366a16b7bd0961a7c56cf1562aff541216 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#event-1482980770 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#event-1482980854 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#event-1482980958 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
needs backport to 3.7
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22 |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#event-1482981206 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| f53d9f2 | https://github.com/python/cpython/commit/f53d9f2778a87bdd48eb9030f782a4ebf9e7622f |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#event-1483604960 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#issuecomment-367158408 |
| @ericsnowcurrently | https://github.com/ericsnowcurrently |
| Please reload this page | https://github.com/python/cpython/pull/5778 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#event-1483605045 |
| miss-islington | https://github.com/miss-islington |
|
Feb 20, 2018
| https://github.com/python/cpython/pull/5778#ref-commit-2f3f233 |
|
| https://github.com/ericsnowcurrently |
|
| https://github.com/miss-islington |
| bpo-32604: Swap threads only if the interpreter is different. ( | https://github.com/miss-islington/cpython/commit/2f3f233a8524a56556368e81b86992ebc51c78e8 |
| python… | https://github.com/python/cpython/pull/5778 |
| 2f3f233 | https://github.com/miss-islington/cpython/commit/2f3f233a8524a56556368e81b86992ebc51c78e8 |
| …gh-5778 | https://github.com/python/cpython/pull/5778 |
| f53d9f2 | https://github.com/miss-islington/cpython/commit/f53d9f2778a87bdd48eb9030f782a4ebf9e7622f |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#issuecomment-367158658 |
| GH-5783 | https://github.com/python/cpython/pull/5783 |
| 3.7 branch | https://github.com/python/cpython/tree/3.7 |
| Please reload this page | https://github.com/python/cpython/pull/5778 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
needs backport to 3.7
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22 |
| Feb 20, 2018 | https://github.com/python/cpython/pull/5778#event-1483606551 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| February 20, 2018 23:32 | https://github.com/python/cpython/pull/5778#event-1483608472 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Aug 24, 2018
| https://github.com/python/cpython/pull/5778#ref-issue-353889608 |
|
swap threads only if different interpreter
ericsnowcurrently/multi-core-python#7
| https://github.com/ericsnowcurrently/multi-core-python/issues/7 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Apr 10, 2022
| https://github.com/python/cpython/pull/5778#ref-issue-1198986115 |
|
[subinterpreters] PEP 554 implementation: add interpreters module
#76785
| https://github.com/python/cpython/issues/76785 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5778 |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/5778 |
|
| https://github.com/ericsnowcurrently |
|
| https://github.com/miss-islington |
|
| https://github.com/bedevere-bot |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |