René's URL Explorer Experiment


Title: Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk

X Title: Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk

Description: The official Python SDK for Model Context Protocol servers and clients - Prevent stdio connection hang for missing server path. by TimChild · Pull Request #401 · modelcontextprotocol/python-sdk

Open Graph Description: Ensure that read/write streams are always closed (even if it is the process that ends first) Check whether the stdio process ended prematurely Raise an error if that was the case Motivation and Co...

X Description: Ensure that read/write streams are always closed (even if it is the process that ends first) Check whether the stdio process ended prematurely Raise an error if that was the case Motivation and Co...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/401

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:64c55ddd-9312-e8ff-beb2-c7be61cf3fc1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE94:227574:2B0315:388970:6A5B2038
html-safe-nonceffa1f3842c8a0df7d2ab5fc6786d0ccd1eb8bb5c2ea4265b14915bb1aa9a6799
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTk0OjIyNzU3NDoyQjAzMTU6Mzg4OTcwOjZBNUIyMDM4IiwidmlzaXRvcl9pZCI6IjE4NTI1MTA2NjQ2MDQxOTY5MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca039814dd1ec415d18f02a96ebfb010b6e16e36b3c4fb7e8f82314c5c1a79116
hovercard-subject-tagpull_request:2429952503
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/401/commits
twitter:imagehttps://opengraph.githubassets.com/471bd891262140d12bc2d39bede6ce4e247a3dc285ff70c2a846085c560e94e7/modelcontextprotocol/python-sdk/pull/401
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/471bd891262140d12bc2d39bede6ce4e247a3dc285ff70c2a846085c560e94e7/modelcontextprotocol/python-sdk/pull/401
og:image:altEnsure that read/write streams are always closed (even if it is the process that ends first) Check whether the stdio process ended prematurely Raise an error if that was the case Motivation and Co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameTimChild
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F401%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F401%2Fcommits
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=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits
modelcontextprotocol https://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 23.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://github.com/modelcontextprotocol/python-sdk
Issues 258 https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests 301 https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality 6 https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
Code https://github.com/modelcontextprotocol/python-sdk
Issues https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests https://github.com/modelcontextprotocol/python-sdk/pulls
Actions https://github.com/modelcontextprotocol/python-sdk/actions
Projects https://github.com/modelcontextprotocol/python-sdk/projects
Models https://github.com/modelcontextprotocol/python-sdk/models
Security and quality https://github.com/modelcontextprotocol/python-sdk/security
Insights https://github.com/modelcontextprotocol/python-sdk/pulse
ihrprhttps://github.com/ihrpr
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
TimChild:prevent-stdio-hanghttps://github.com/TimChild/python-sdk/tree/prevent-stdio-hang
Conversationhttps://github.com/modelcontextprotocol/python-sdk/pull/401
Commits9 (9)https://github.com/modelcontextprotocol/python-sdk/pull/401/commits
Checkshttps://github.com/modelcontextprotocol/python-sdk/pull/401/checks
Files changedhttps://github.com/modelcontextprotocol/python-sdk/pull/401/files
Prevent stdio connection hang for missing server path.https://github.com/modelcontextprotocol/python-sdk/pull/401/commits#top
ihrprhttps://github.com/ihrpr
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
TimChild:prevent-stdio-hanghttps://github.com/TimChild/python-sdk/tree/prevent-stdio-hang
add test that checks if stdio connection hangs with bad connection paramshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/bd097bfce5e4d651dd3a43071b8249527b414c14
https://github.com/TimChild
TimChildhttps://github.com/modelcontextprotocol/python-sdk/commits?author=TimChild
bd097bfhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/bd097bfce5e4d651dd3a43071b8249527b414c14
https://github.com/modelcontextprotocol/python-sdk/tree/bd097bfce5e4d651dd3a43071b8249527b414c14
fix process hanging on bad stdio connection paramshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/8558120eac0ed2eaf16aa71e49b4344bbb152a2e
https://github.com/TimChild
TimChildhttps://github.com/modelcontextprotocol/python-sdk/commits?author=TimChild
8558120https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/8558120eac0ed2eaf16aa71e49b4344bbb152a2e
https://github.com/modelcontextprotocol/python-sdk/tree/8558120eac0ed2eaf16aa71e49b4344bbb152a2e
make sure test only runs if `uv` availablehttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/be41b81c52dda1cdaed6ea34874b09b527dbf387
https://github.com/TimChild
TimChildhttps://github.com/modelcontextprotocol/python-sdk/commits?author=TimChild
be41b81https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/be41b81c52dda1cdaed6ea34874b09b527dbf387
https://github.com/modelcontextprotocol/python-sdk/tree/be41b81c52dda1cdaed6ea34874b09b527dbf387
fix detection of failed processhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/90f224d6e19521e08246c3362bfa4a1bc7b0f080
https://github.com/TimChild
TimChildhttps://github.com/modelcontextprotocol/python-sdk/commits?author=TimChild
90f224dhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/90f224d6e19521e08246c3362bfa4a1bc7b0f080
https://github.com/modelcontextprotocol/python-sdk/tree/90f224d6e19521e08246c3362bfa4a1bc7b0f080
Merge branch 'main' into prevent-stdio-hanghttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/998631e31f8d3ebef7c9a683e244be730c0a5095
https://github.com/ihrpr
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
998631ehttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/998631e31f8d3ebef7c9a683e244be730c0a5095
https://github.com/modelcontextprotocol/python-sdk/tree/998631e31f8d3ebef7c9a683e244be730c0a5095
change testshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/acce290cb4a64a47b608e9fd6835a246d775ce2a
https://github.com/ihrpr
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
acce290https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/acce290cb4a64a47b608e9fd6835a246d775ce2a
https://github.com/modelcontextprotocol/python-sdk/tree/acce290cb4a64a47b608e9fd6835a246d775ce2a
close unclosed streams that were masked by not cought exceptionshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/1fb54485ecaafe7bb0864df31ae3ee4b54e6ef6a
https://github.com/ihrpr
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
1fb5448https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/1fb54485ecaafe7bb0864df31ae3ee4b54e6ef6a
https://github.com/modelcontextprotocol/python-sdk/tree/1fb54485ecaafe7bb0864df31ae3ee4b54e6ef6a
catch OSError as it's casing unclosed resourceshttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/ba385fa7f75c212d94148905738c7fa0dc1cdbc7
https://github.com/ihrpr
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
ba385fahttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/ba385fa7f75c212d94148905738c7fa0dc1cdbc7
https://github.com/modelcontextprotocol/python-sdk/tree/ba385fa7f75c212d94148905738c7fa0dc1cdbc7
win errorhttps://github.com/modelcontextprotocol/python-sdk/pull/401/commits/a94b5490b0272899145d731422c12873e6fbb3d0
https://github.com/ihrpr
ihrprhttps://github.com/modelcontextprotocol/python-sdk/commits?author=ihrpr
a94b549https://github.com/modelcontextprotocol/python-sdk/pull/401/commits/a94b5490b0272899145d731422c12873e6fbb3d0
https://github.com/modelcontextprotocol/python-sdk/tree/a94b5490b0272899145d731422c12873e6fbb3d0
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.