René's URL Explorer Experiment


Title: gh-159194: Fix `sys.remote_exec()` with a subinterpreter by maurycy · Pull Request #159259 · python/cpython · GitHub

Open Graph Title: gh-159194: Fix `sys.remote_exec()` with a subinterpreter by maurycy · Pull Request #159259 · python/cpython

X Title: gh-159194: Fix `sys.remote_exec()` with a subinterpreter by maurycy · Pull Request #159259 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Right now sys.remote_exec() selects only the first interpreter in the target interpreter list. As new interpreters are prepended, this can make the call fail with an idle subinterpreter or execute ...

X Description: Right now sys.remote_exec() selects only the first interpreter in the target interpreter list. As new interpreters are prepended, this can make the call fail with an idle subinterpreter or execute ...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ac57b0e7-0f83-2f59-7346-4fe39e30c556
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id860C:23DB5F:E948A8:124DC26:6B0235A2
html-safe-noncee388aef2f961ebb9417d895c67722c7997f21b3d4e71edfccc9503c094a3e21a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjBDOjIzREI1RjpFOTQ4QTg6MTI0REMyNjo2QjAyMzVBMiIsInZpc2l0b3JfaWQiOiIxODkxMjY1MTU5NTQ5MzAyMTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1bb2c27904c89b26cfbcad48c0b6f5e963ee8562b122a84fa604eef00411f038
hovercard-subject-tagpull_request:4834739727
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/159259/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/16fad484933b598c9b03fa67f02349289766cdf1c8052d0fb72c8682facd6884/python/cpython/pull/159259
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/16fad484933b598c9b03fa67f02349289766cdf1c8052d0fb72c8682facd6884/python/cpython/pull/159259
og:image:altRight now sys.remote_exec() selects only the first interpreter in the target interpreter list. As new interpreters are prepended, this can make the call fail with an idle subinterpreter or execute ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaurycy
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/159259#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159259
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159259
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/159259
Reloadhttps://github.com/python/cpython/pull/159259
Reloadhttps://github.com/python/cpython/pull/159259
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
maurycyhttps://github.com/maurycy
python:mainhttps://github.com/python/cpython/tree/main
maurycy:sys-remote-exec-with-subshttps://github.com/maurycy/cpython/tree/sys-remote-exec-with-subs
Conversationhttps://github.com/python/cpython/pull/159259
Commits7 (7)https://github.com/python/cpython/pull/159259/commits
Checkshttps://github.com/python/cpython/pull/159259/checks
Files changedhttps://github.com/python/cpython/pull/159259/files
gh-159194: Fix sys.remote_exec() with a subinterpreterhttps://github.com/python/cpython/pull/159259#top
maurycyhttps://github.com/maurycy
python:mainhttps://github.com/python/cpython/tree/main
maurycy:sys-remote-exec-with-subshttps://github.com/maurycy/cpython/tree/sys-remote-exec-with-subs
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Oct 12, 2026https://github.com/python/cpython/pull/159259#issue-5820125737
Please reload this pagehttps://github.com/python/cpython/pull/159259
#159194https://github.com/python/cpython/issues/159194
sys.remote_exec() can fail when subinterpreters exist #159194https://github.com/python/cpython/issues/159194
Please reload this pagehttps://github.com/python/cpython/pull/159259
maurycyhttps://github.com/maurycy
October 12, 2026 22:04https://github.com/python/cpython/pull/159259#commits-pushed-16d92f0
https://github.com/maurycy
test firsthttps://github.com/python/cpython/pull/159259/commits/16d92f03d09b977b299073ca506cf27014106d8a
16d92f0https://github.com/python/cpython/pull/159259/commits/16d92f03d09b977b299073ca506cf27014106d8a
https://github.com/maurycy
start with thishttps://github.com/python/cpython/pull/159259/commits/2b1b30e8c99bc4d6253dee08c300a9b5381539b8
2b1b30ehttps://github.com/python/cpython/pull/159259/commits/2b1b30e8c99bc4d6253dee08c300a9b5381539b8
https://github.com/maurycy
update docshttps://github.com/python/cpython/pull/159259/commits/76f631cae58a3689199273fd7a4b65c3215fc1b3
76f631chttps://github.com/python/cpython/pull/159259/commits/76f631cae58a3689199273fd7a4b65c3215fc1b3
https://github.com/maurycy
newshttps://github.com/python/cpython/pull/159259/commits/a476c1ee7901e5ae9dc54dd7fba6d0ef02d4b1ce
a476c1ehttps://github.com/python/cpython/pull/159259/commits/a476c1ee7901e5ae9dc54dd7fba6d0ef02d4b1ce
https://github.com/maurycy
betterhttps://github.com/python/cpython/pull/159259/commits/cc193c51a322cd77b28d1567085600a3a57c3a2d
cc193c5https://github.com/python/cpython/pull/159259/commits/cc193c51a322cd77b28d1567085600a3a57c3a2d
https://github.com/maurycy
simplify the testhttps://github.com/python/cpython/pull/159259/commits/da267809636b138018a42f73eb078debf89afa0c
da26780https://github.com/python/cpython/pull/159259/commits/da267809636b138018a42f73eb078debf89afa0c
https://github.com/maurycy
maurycyhttps://github.com/maurycy
pablogsalhttps://github.com/pablogsal
code ownerhttps://github.com/python/cpython/blob/e29cce5ea81f94de936521cada96f2ffd5d42df1/.github/CODEOWNERS#L331
October 12, 2026 20:39https://github.com/python/cpython/pull/159259#event-33079420204
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 12, 2026 https://github.com/python/cpython/pull/159259#ref-issue-5804619269
sys.remote_exec() can fail when subinterpreters exist #159194 https://github.com/python/cpython/issues/159194
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 12, 2026https://github.com/python/cpython/pull/159259#event-33079427276
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Oct 12, 2026 https://github.com/python/cpython/pull/159259#pullrequestreview-5495735229
View reviewed changes https://github.com/python/cpython/pull/159259/files/da267809636b138018a42f73eb078debf89afa0c
Python/remote_debugging.chttps://github.com/python/cpython/pull/159259/files/da267809636b138018a42f73eb078debf89afa0c#diff-eae61b778da4e978b6eee6aeb21e77e605eabc88768fae6520b131207b2e7b6d
maurycyhttps://github.com/maurycy
Oct 12, 2026https://github.com/python/cpython/pull/159259#discussion_r4252134489
Please reload this pagehttps://github.com/python/cpython/pull/159259
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/159259
pablogsalhttps://github.com/pablogsal
Oct 12, 2026https://github.com/python/cpython/pull/159259#discussion_r4252212268
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/159259
maurycyhttps://github.com/maurycy
Oct 12, 2026https://github.com/python/cpython/pull/159259#discussion_r4252333663
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/159259
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Oct 12, 2026https://github.com/python/cpython/pull/159259#issuecomment-6132271255
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#35101989https://app.readthedocs.org/projects/cpython-previews/builds/35101989/
da26780https://github.com/python/cpython/commit/da267809636b138018a42f73eb078debf89afa0c
mainhttps://cpython-previews.readthedocs.io/en/main/
e29cce5https://github.com/python/cpython/commit/e29cce5ea81f94de936521cada96f2ffd5d42df1
  🔍 Preview build   https://cpython-previews--159259.org.readthedocs.build/en/159259/
howto/remote_debugging.htmlhttps://cpython-previews--159259.org.readthedocs.build/en/159259/howto/remote_debugging.html
whatsnew/changelog.htmlhttps://cpython-previews--159259.org.readthedocs.build/en/159259/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/159259
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Oct 12, 2026 https://github.com/python/cpython/pull/159259#ref-issue-5820391401
_remote_debugging: RemoteUnwinder caches the interpreters list head in __init__ as the main interpreter #159262 https://github.com/python/cpython/issues/159262
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Oct 12, 2026 https://github.com/python/cpython/pull/159259#pullrequestreview-5496103711
View reviewed changes https://github.com/python/cpython/pull/159259/files/da267809636b138018a42f73eb078debf89afa0c
Python/remote_debugging.chttps://github.com/python/cpython/pull/159259/files/da267809636b138018a42f73eb078debf89afa0c#diff-eae61b778da4e978b6eee6aeb21e77e605eabc88768fae6520b131207b2e7b6d
maurycyhttps://github.com/maurycy
Oct 12, 2026https://github.com/python/cpython/pull/159259#discussion_r4252453878
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Modules/_remote_debugging/frames.chttps://github.com/python/cpython/blob/e878e1e9688ebaafbfae700a872fa30a9f86a4c4/Modules/_remote_debugging/frames.c#L459-L462
e878e1ehttps://github.com/python/cpython/commit/e878e1e9688ebaafbfae700a872fa30a9f86a4c4
Please reload this pagehttps://github.com/python/cpython/pull/159259
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Oct 15, 2026 https://github.com/python/cpython/pull/159259#ref-issue-5829796021
profiling.sampling CPU mode may attribute on-CPU samples to detached tstates when sharing native_thread_id #159312 https://github.com/python/cpython/issues/159312
https://github.com/maurycy
simpler testhttps://github.com/python/cpython/pull/159259/commits/4756c0710ce47241cb9708a51ec80771ab63a336
4756c07https://github.com/python/cpython/pull/159259/commits/4756c0710ce47241cb9708a51ec80771ab63a336
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159259
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/159259
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
sys.remote_exec() can fail when subinterpreters exist https://github.com/python/cpython/issues/159194
Please reload this pagehttps://github.com/python/cpython/pull/159259
https://github.com/maurycy
https://github.com/pablogsal
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.