René's URL Explorer Experiment


Title: Fix: Raise RuntimeError when ClientSession is used without context manager to prevent hangs by newbiehwang · Pull Request #1849 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Fix: Raise RuntimeError when ClientSession is used without context manager to prevent hangs by newbiehwang · Pull Request #1849 · modelcontextprotocol/python-sdk

X Title: Fix: Raise RuntimeError when ClientSession is used without context manager to prevent hangs by newbiehwang · Pull Request #1849 · modelcontextprotocol/python-sdk

Description: Fixes #1564 Summary This PR adds a runtime check to ClientSession to ensure it is being used within an asynchronous context manager (async with). If initialize() is called without entering the cont...

Open Graph Description: Fixes #1564 Summary This PR adds a runtime check to ClientSession to ensure it is being used within an asynchronous context manager (async with). If initialize() is called without entering the cont...

X Description: Fixes #1564 Summary This PR adds a runtime check to ClientSession to ensure it is being used within an asynchronous context manager (async with). If initialize() is called without entering the cont...

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

X: @github

direct link

Domain: patch-diff.githubusercontent.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:d6ea7306-80a1-7d56-2576-0c401ec4e2f2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9258:3C62DE:7B9A2C2:A457657:696DFB68
html-safe-nonce5e14f5a36435483fb0a70821fdca814f58a5f321218ac47b8107bbea4c32e652
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjU4OjNDNjJERTo3QjlBMkMyOkE0NTc2NTc6Njk2REZCNjgiLCJ2aXNpdG9yX2lkIjoiMzcyNzc2OTQ3MTM2NzkwNDEwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace517ca2c4a793e542b3fdd7e3c94df110b6c512b330e76f021577394f4f4aa17
hovercard-subject-tagpull_request:3164846394
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/modelcontextprotocol/python-sdk/1849/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/53d25f02ad59ee7aca9827f42b063fb1663129a5dbe433d03a9d4c78c67f2790/modelcontextprotocol/python-sdk/pull/1849
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53d25f02ad59ee7aca9827f42b063fb1663129a5dbe433d03a9d4c78c67f2790/modelcontextprotocol/python-sdk/pull/1849
og:image:altFixes #1564 Summary This PR adds a runtime check to ClientSession to ensure it is being used within an asynchronous context manager (async with). If initialize() is called without entering the cont...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenewbiehwang
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-preview
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
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1849
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1849
Sign up https://patch-diff.githubusercontent.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=modelcontextprotocol%2Fpython-sdk
Reloadhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
Reloadhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
Reloadhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
modelcontextprotocol https://patch-diff.githubusercontent.com/modelcontextprotocol
python-sdkhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Fork 3k https://patch-diff.githubusercontent.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Star 21.2k https://patch-diff.githubusercontent.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk
Code https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk
Issues 239 https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/issues
Pull requests 93 https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pulls
Actions https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/actions
Projects 0 https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/security
Please reload this pagehttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
Insights https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pulse
Code https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk
Issues https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/issues
Pull requests https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pulls
Actions https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/actions
Projects https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/projects
Security https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/security
Insights https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#issue-comment-box
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
modelcontextprotocol:mainhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/tree/main
newbiehwang:fix/prevent-session-hanghttps://patch-diff.githubusercontent.com/newbiehwang/python-sdk/tree/fix/prevent-session-hang
Fix: Raise RuntimeError when ClientSession is used without context manager to prevent hangs https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#top
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
modelcontextprotocol:mainhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/tree/main
newbiehwang:fix/prevent-session-hanghttps://patch-diff.githubusercontent.com/newbiehwang/python-sdk/tree/fix/prevent-session-hang
Conversation 0 https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
Commits 16 https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits
Checks 23 https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/checks
Files changed https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/files
Please reload this pagehttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/newbiehwang
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
Jan 12, 2026https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#issue-3803160381
#1564https://github.com/modelcontextprotocol/python-sdk/issues/1564
#1564https://github.com/modelcontextprotocol/python-sdk/issues/1564
MCP Documentationhttps://modelcontextprotocol.io
Please reload this pagehttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
January 12, 2026 16:48https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#commits-pushed-6d9b85a
https://patch-diff.githubusercontent.com/newbiehwang
Fix: Prevent hang when ClientSession is initialized without context m…https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/6d9b85a4eccad970a80d4cfa898fcb2f1aeab59a
6d9b85ahttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/6d9b85a4eccad970a80d4cfa898fcb2f1aeab59a
https://patch-diff.githubusercontent.com/newbiehwang
Fix: Apply formatting and add type hinthttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/6ba5675124fa973ecf6d5e113716f85a0142e26b
6ba5675https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/6ba5675124fa973ecf6d5e113716f85a0142e26b
https://patch-diff.githubusercontent.com/newbiehwang
Test: Add coverage for invalid session usagehttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/05f0b1753808837b2b2255f3bc3124c1241dd493
05f0b17https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/05f0b1753808837b2b2255f3bc3124c1241dd493
https://patch-diff.githubusercontent.com/newbiehwang
Fix: Apply formatting and fix test resource cleanuphttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/13c694e915b183efb1b5a7ea6e2b1a9b38d220fc
13c694ehttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/13c694e915b183efb1b5a7ea6e2b1a9b38d220fc
https://patch-diff.githubusercontent.com/newbiehwang
Fix: Sort imports to satisfy ruffhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/fb11722840680e768284bbd92e0afaae9823f669
fb11722https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/fb11722840680e768284bbd92e0afaae9823f669
https://patch-diff.githubusercontent.com/newbiehwang
Test: Modify test_initialize_without_context_manager_raises_errorhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/82e0f2f65b1cb2c2d7980b15ab7de86b8d1b83eb
82e0f2fhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/82e0f2f65b1cb2c2d7980b15ab7de86b8d1b83eb
https://patch-diff.githubusercontent.com/newbiehwang
Check Restarthttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/ba178a1c0264ed54c4605092706baa2cffda4684
ba178a1https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/ba178a1c0264ed54c4605092706baa2cffda4684
https://patch-diff.githubusercontent.com/newbiehwang
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
force-pushedhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/6cb555eef6d860a48e54129815d2d453ce1d42e6..ba178a1c0264ed54c4605092706baa2cffda4684
6cb555ehttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/6cb555eef6d860a48e54129815d2d453ce1d42e6
ba178a1https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/ba178a1c0264ed54c4605092706baa2cffda4684
Compare https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/6cb555eef6d860a48e54129815d2d453ce1d42e6..ba178a1c0264ed54c4605092706baa2cffda4684
January 13, 2026 09:21https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#event-22011305774
https://patch-diff.githubusercontent.com/newbiehwang
Merge remote-tracking branch 'origin/main' into fix/prevent-session-hanghttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/f3b85aa7645d72235d665c824ed442a9c0fef0e1
f3b85aahttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/f3b85aa7645d72235d665c824ed442a9c0fef0e1
https://patch-diff.githubusercontent.com/newbiehwang
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
force-pushedhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/94cd3b6cdfa370249e140d08356e32b73cda1163..f3b85aa7645d72235d665c824ed442a9c0fef0e1
94cd3b6https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/94cd3b6cdfa370249e140d08356e32b73cda1163
f3b85aahttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/f3b85aa7645d72235d665c824ed442a9c0fef0e1
Compare https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/94cd3b6cdfa370249e140d08356e32b73cda1163..f3b85aa7645d72235d665c824ed442a9c0fef0e1
January 16, 2026 06:02https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#event-22087238120
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
January 16, 2026 21:40https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#commits-pushed-49b8cc7
https://patch-diff.githubusercontent.com/newbiehwang
ci: retry flaky windows testhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/49b8cc7b98bfaa481279c640b260ab9128d0328b
49b8cc7https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/49b8cc7b98bfaa481279c640b260ab9128d0328b
https://patch-diff.githubusercontent.com/newbiehwang
ci: retry flaky windows testhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/72e4fd7056cddbf153a8beacf6f03c7499631c93
72e4fd7https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/72e4fd7056cddbf153a8beacf6f03c7499631c93
https://patch-diff.githubusercontent.com/newbiehwang
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
force-pushedhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/fa8e9fc2494de463bebdce8aad6cc97bd393c287..72e4fd7056cddbf153a8beacf6f03c7499631c93
fa8e9fchttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/fa8e9fc2494de463bebdce8aad6cc97bd393c287
72e4fd7https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/72e4fd7056cddbf153a8beacf6f03c7499631c93
Compare https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/fa8e9fc2494de463bebdce8aad6cc97bd393c287..72e4fd7056cddbf153a8beacf6f03c7499631c93
January 16, 2026 12:41https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#event-22094955993
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
January 16, 2026 21:42https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#commits-pushed-8e50f80
https://patch-diff.githubusercontent.com/newbiehwang
ci: retry flaky windows testhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/8e50f8079c66cbc4f8a3a8b5926dbdf95ab86fc1
8e50f80https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/8e50f8079c66cbc4f8a3a8b5926dbdf95ab86fc1
https://patch-diff.githubusercontent.com/newbiehwang
ci: retry flaky windows testhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/a972192c6d32a44ceb71bafce5a269cf343ee887
a972192https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/a972192c6d32a44ceb71bafce5a269cf343ee887
https://patch-diff.githubusercontent.com/newbiehwang
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
force-pushedhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/1d3f8ed6a5f2674874c42a9cc864ad6ec80a7904..a972192c6d32a44ceb71bafce5a269cf343ee887
1d3f8edhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/1d3f8ed6a5f2674874c42a9cc864ad6ec80a7904
a972192https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/a972192c6d32a44ceb71bafce5a269cf343ee887
Compare https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/1d3f8ed6a5f2674874c42a9cc864ad6ec80a7904..a972192c6d32a44ceb71bafce5a269cf343ee887
January 17, 2026 01:08https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#event-22108562141
https://patch-diff.githubusercontent.com/newbiehwang
Merge remote-tracking branch 'origin/main' into fix/prevent-session-hanghttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/17ba89f1dfbb1f142c0e069c00b5e8245221b5c8
17ba89fhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/17ba89f1dfbb1f142c0e069c00b5e8245221b5c8
https://patch-diff.githubusercontent.com/newbiehwang
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
force-pushedhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/9068f71c2bf30988e62dda5d7eca40a95c3c075a..17ba89f1dfbb1f142c0e069c00b5e8245221b5c8
9068f71https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/9068f71c2bf30988e62dda5d7eca40a95c3c075a
17ba89fhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/commit/17ba89f1dfbb1f142c0e069c00b5e8245221b5c8
Compare https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/compare/9068f71c2bf30988e62dda5d7eca40a95c3c075a..17ba89f1dfbb1f142c0e069c00b5e8245221b5c8
January 17, 2026 01:37https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#event-22108784855
newbiehwanghttps://patch-diff.githubusercontent.com/newbiehwang
January 17, 2026 17:49https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849#commits-pushed-750c102
https://patch-diff.githubusercontent.com/newbiehwang
update test_sessionhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/750c102c28c82697580dc84e3153f0811bb0d53a
750c102https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/750c102c28c82697580dc84e3153f0811bb0d53a
https://patch-diff.githubusercontent.com/newbiehwang
update test_sessionhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/234759faecc7f41f576c9cf34dede6e58ffcf80c
234759fhttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/234759faecc7f41f576c9cf34dede6e58ffcf80c
https://patch-diff.githubusercontent.com/newbiehwang
Merge branch 'main' into fix/prevent-session-hanghttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/da3d972c939f04e76f332a914a1813daca550030
da3d972https://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849/commits/da3d972c939f04e76f332a914a1813daca550030
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F1849
stdio_client fails with BrokenResourceError during initialization https://github.com/modelcontextprotocol/python-sdk/issues/1564
Please reload this pagehttps://patch-diff.githubusercontent.com/modelcontextprotocol/python-sdk/pull/1849
https://patch-diff.githubusercontent.com/newbiehwang
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.