René's URL Explorer Experiment


Title: gh-96522: Fix deadlock in pty.spawn by zhangyoufu · Pull Request #96639 · python/cpython · GitHub

Open Graph Title: gh-96522: Fix deadlock in pty.spawn by zhangyoufu · Pull Request #96639 · python/cpython

X Title: gh-96522: Fix deadlock in pty.spawn by zhangyoufu · Pull Request #96639 · python/cpython

Description: Issue: pty.spawn deadlock #96522

Open Graph Description: Issue: pty.spawn deadlock #96522

X Description: Issue: pty.spawn deadlock #96522

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

X: @github

direct link

Domain: github.com

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:ba9a0894-39f8-08cf-6a76-12d0dd5e064a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99DE:25CEAB:3A080B:4F4441:6969DA82
html-safe-nonce999b26eace6dc69222425a782c9c6327540fbdbe9aa6ad5c884e10d9dcc43958
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OURFOjI1Q0VBQjozQTA4MEI6NEY0NDQxOjY5NjlEQTgyIiwidmlzaXRvcl9pZCI6IjY2ODM5MTc2MzA4MzkwOTc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd6a1b1c160461f11b8f5a5ded665ebcbae7479a895d714e39f1abeed5b6c21d1
hovercard-subject-tagpull_request:1048498017
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/96639/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e1db545ece8cb25d509ea00d4fca7f3c8af13ef611c746ba9b9170821d162554/python/cpython/pull/96639
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e1db545ece8cb25d509ea00d4fca7f3c8af13ef611c746ba9b9170821d162554/python/cpython/pull/96639
og:image:altIssue: pty.spawn deadlock #96522
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezhangyoufu
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/96639#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96639
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%2F96639
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
Reloadhttps://github.com/python/cpython/pull/96639
Reloadhttps://github.com/python/cpython/pull/96639
Reloadhttps://github.com/python/cpython/pull/96639
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/96639
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 pagehttps://github.com/python/cpython/pull/96639
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
Jump to bottomhttps://github.com/python/cpython/pull/96639#issue-comment-box
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
gh-96522: Fix deadlock in pty.spawn https://github.com/python/cpython/pull/96639#top
ambvhttps://github.com/ambv
python:mainhttps://github.com/python/cpython/tree/main
Conversation 12 https://github.com/python/cpython/pull/96639
Commits 1 https://github.com/python/cpython/pull/96639/commits
Checks 0 https://github.com/python/cpython/pull/96639/checks
Files changed https://github.com/python/cpython/pull/96639/files
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/zhangyoufu
zhangyoufuhttps://github.com/zhangyoufu
Sep 7, 2022https://github.com/python/cpython/pull/96639#issue-1364363843
Please reload this pagehttps://github.com/python/cpython/pull/96639
pty.spawn deadlock #96522https://github.com/python/cpython/issues/96522
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 7, 2022https://github.com/python/cpython/pull/96639#event-7337101954
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 7, 2022https://github.com/python/cpython/pull/96639#issuecomment-1239137509
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/ghost
ghosthttps://github.com/ghost
Sep 7, 2022https://github.com/python/cpython/pull/96639#issuecomment-1239137922
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://cpython-clabot.herokuapp.com/signed-contributor-license-agreement?version=96a49432b8b111ec9bf5bfe9ad6c72c4
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/ambv
ambvhttps://github.com/ambv
Oct 7, 2022 https://github.com/python/cpython/pull/96639#pullrequestreview-1133765897
View reviewed changes https://github.com/python/cpython/pull/96639/files
Lib/pty.pyhttps://github.com/python/cpython/pull/96639/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da
ambvhttps://github.com/ambv
Oct 7, 2022https://github.com/python/cpython/pull/96639#discussion_r989576936
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/96639
zhangyoufuhttps://github.com/zhangyoufu
Oct 10, 2022https://github.com/python/cpython/pull/96639#discussion_r991139768
Please reload this pagehttps://github.com/python/cpython/pull/96639
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/ambv
ambvhttps://github.com/ambv
Oct 7, 2022 https://github.com/python/cpython/pull/96639#pullrequestreview-1133766381
View reviewed changes https://github.com/python/cpython/pull/96639/files
Lib/pty.pyhttps://github.com/python/cpython/pull/96639/files#diff-6951c8bf11da0d5912302a24b778e2c968fae9212bfeb2e73de06ec257b2d1da
ambvhttps://github.com/ambv
Oct 7, 2022https://github.com/python/cpython/pull/96639#discussion_r989577343
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/96639
zhangyoufuhttps://github.com/zhangyoufu
Oct 10, 2022https://github.com/python/cpython/pull/96639#discussion_r991172609
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/zhangyoufu
Fix deadlock in pty.spawnhttps://github.com/python/cpython/pull/96639/commits/e819a1cc31749f03438afc58a990a4e96dee08a5
e819a1chttps://github.com/python/cpython/pull/96639/commits/e819a1cc31749f03438afc58a990a4e96dee08a5
gh-96522https://github.com/python/cpython/issues/96522
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 15, 2023 https://github.com/python/cpython/pull/96639#ref-issue-1360762407
pty.spawn deadlock #96522 https://github.com/python/cpython/issues/96522
https://github.com/zhangyoufu
zhangyoufuhttps://github.com/zhangyoufu
ambvhttps://github.com/ambv
February 15, 2023 06:37https://github.com/python/cpython/pull/96639#event-8522558945
https://github.com/zhangyoufu
zhangyoufuhttps://github.com/zhangyoufu
Apr 20, 2023https://github.com/python/cpython/pull/96639#issuecomment-1515694294
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
May 19, 2023https://github.com/python/cpython/pull/96639#event-9289337206
https://github.com/ambv
ambvhttps://github.com/ambv
May 19, 2023 13:22https://github.com/python/cpython/pull/96639#event-9289337705
https://github.com/ambv
ambvhttps://github.com/ambv
9c5aa89https://github.com/python/cpython/commit/9c5aa8967bd7c1b02fb1da055c6b3afcccbbb251
May 19, 2023https://github.com/python/cpython/pull/96639#event-9289339383
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 19, 2023https://github.com/python/cpython/pull/96639#issuecomment-1554570257
@zhangyoufuhttps://github.com/zhangyoufu
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 19, 2023https://github.com/python/cpython/pull/96639#event-9289339838
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 19, 2023https://github.com/python/cpython/pull/96639#issuecomment-1554570301
@zhangyoufuhttps://github.com/zhangyoufu
@ambvhttps://github.com/ambv
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
ambvhttps://github.com/ambv
May 19, 2023https://github.com/python/cpython/pull/96639#event-9289340135
https://github.com/ambv
ambvhttps://github.com/ambv
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
May 19, 2023https://github.com/python/cpython/pull/96639#event-9289341215
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 19, 2023https://github.com/python/cpython/pull/96639#issuecomment-1554570971
@zhangyoufuhttps://github.com/zhangyoufu
@ambvhttps://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 19, 2023https://github.com/python/cpython/pull/96639#issuecomment-1554571008
@zhangyoufuhttps://github.com/zhangyoufu
@ambvhttps://github.com/ambv
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/96639
ambvhttps://github.com/ambv
May 19, 2023 https://github.com/python/cpython/pull/96639#ref-commit-38b5d74
https://github.com/zhangyoufu
https://github.com/ambv
[3.11]https://github.com/ambv/cpython/commit/38b5d74c066765fbb1e293ac936fbeebd2e7766b
pythongh-96522https://github.com/python/cpython/issues/96522
: Fix deadlock in pty.spawn (https://github.com/ambv/cpython/commit/38b5d74c066765fbb1e293ac936fbeebd2e7766b
pythonGH-96639https://github.com/python/cpython/pull/96639
)https://github.com/ambv/cpython/commit/38b5d74c066765fbb1e293ac936fbeebd2e7766b
38b5d74https://github.com/ambv/cpython/commit/38b5d74c066765fbb1e293ac936fbeebd2e7766b
9c5aa89https://github.com/ambv/cpython/commit/9c5aa8967bd7c1b02fb1da055c6b3afcccbbb251
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 19, 2023https://github.com/python/cpython/pull/96639#issuecomment-1554618532
GH-104655https://github.com/python/cpython/pull/104655
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
May 19, 2023https://github.com/python/cpython/pull/96639#event-9289654807
ambvhttps://github.com/ambv
May 19, 2023 https://github.com/python/cpython/pull/96639#ref-commit-702ce87
https://github.com/ambv
https://github.com/zhangyoufu
[3.11]https://github.com/python/cpython/commit/702ce8773691d45094f7131e26edc43505121239
gh-96522https://github.com/python/cpython/issues/96522
: Fix deadlock in pty.spawn (https://github.com/python/cpython/commit/702ce8773691d45094f7131e26edc43505121239
GH-96639https://github.com/python/cpython/pull/96639
) (https://github.com/python/cpython/commit/702ce8773691d45094f7131e26edc43505121239
#104655https://github.com/python/cpython/pull/104655
)https://github.com/python/cpython/commit/702ce8773691d45094f7131e26edc43505121239
702ce87https://github.com/python/cpython/commit/702ce8773691d45094f7131e26edc43505121239
9c5aa89https://github.com/python/cpython/commit/9c5aa8967bd7c1b02fb1da055c6b3afcccbbb251
https://github.com/zhangyoufu
zhangyoufuhttps://github.com/zhangyoufu
May 20, 2023 02:54https://github.com/python/cpython/pull/96639#event-9293680571
carljmhttps://github.com/carljm
May 20, 2023 https://github.com/python/cpython/pull/96639#ref-commit-ea5965a
https://github.com/carljm
Merge branch 'main' into gsallam/mainhttps://github.com/gsallam/cpython_with_perfmap_apii/commit/ea5965a54e6979e3a6f4b47418b5064c4e41733e
ea5965ahttps://github.com/gsallam/cpython_with_perfmap_apii/commit/ea5965a54e6979e3a6f4b47418b5064c4e41733e
pythongh-103987https://github.com/python/cpython/issues/103987
python#103990https://github.com/python/cpython/pull/103990
python#104661https://github.com/python/cpython/pull/104661
pythongh-94906https://github.com/python/cpython/issues/94906
python#103881https://github.com/python/cpython/pull/103881
pythongh-104472https://github.com/python/cpython/issues/104472
python#104667https://github.com/python/cpython/pull/104667
pythongh-103839https://github.com/python/cpython/issues/103839
pythonGH-103842https://github.com/python/cpython/pull/103842
pythongh-85984https://github.com/python/cpython/issues/85984
python#101832https://github.com/python/cpython/pull/101832
pythongh-104659https://github.com/python/cpython/issues/104659
python#104665https://github.com/python/cpython/pull/104665
pythongh-92248https://github.com/python/cpython/issues/92248
python#103678https://github.com/python/cpython/pull/103678
pythongh-104645https://github.com/python/cpython/issues/104645
python#104646https://github.com/python/cpython/pull/104646
pythongh-104600https://github.com/python/cpython/issues/104600
python#104634https://github.com/python/cpython/pull/104634
pythongh-104602https://github.com/python/cpython/issues/104602
python#104639https://github.com/python/cpython/pull/104639
pythongh-104640https://github.com/python/cpython/issues/104640
python#104641https://github.com/python/cpython/pull/104641
pythongh-103921https://github.com/python/cpython/issues/103921
python#104654https://github.com/python/cpython/pull/104654
python#104649https://github.com/python/cpython/pull/104649
pythongh-96522https://github.com/python/cpython/issues/96522
python#96639https://github.com/python/cpython/pull/96639
pythonGH-102818https://github.com/python/cpython/issues/102818
pythonGH-104579https://github.com/python/cpython/pull/104579
pythonGH-103545https://github.com/python/cpython/issues/103545
python#104606https://github.com/python/cpython/pull/104606
pythongh-104623https://github.com/python/cpython/issues/104623
pythonGH-104624https://github.com/python/cpython/pull/104624
pythongh-104619https://github.com/python/cpython/issues/104619
python#104637https://github.com/python/cpython/pull/104637
pythongh-104602https://github.com/python/cpython/issues/104602
python#104603https://github.com/python/cpython/pull/104603
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%2F96639
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/ambv
ambv https://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/96639
https://github.com/zhangyoufu
https://github.com/bedevere-bot
https://github.com/miss-islington
https://github.com/ambv
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.