| 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:c399fa21-3aac-46ac-8f71-c96cc5b61522 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D09E:23F578:6685E6:86BE9B:6A5B31D1 |
| html-safe-nonce | f317a5c29aeb320e168bd25dfd2b0c65dbf5fc8100fdb13062d53ac62f0a649c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDlFOjIzRjU3ODo2Njg1RTY6ODZCRTlCOjZBNUIzMUQxIiwidmlzaXRvcl9pZCI6IjQ4MzE1MjY0OTcxMTcyNzA1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e92bba8d86c78b2d01d8c625b64e5703ef37546e2d6171e379ad144eb4d15689 |
| hovercard-subject-tag | pull_request:3379075559 |
| 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/modelcontextprotocol/python-sdk/2267/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d05cf74869e7f49f3386c9b3263cd5e20b59a9148151acd3fac41aa70132d5a1/modelcontextprotocol/python-sdk/pull/2267 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d05cf74869e7f49f3386c9b3263cd5e20b59a9148151acd3fac41aa70132d5a1/modelcontextprotocol/python-sdk/pull/2267 |
| og:image:alt | Problem
tests/shared/test_ws.py had 4 tests sharing a subprocess+uvicorn fixture with a TOCTOU port race: bind port 0 → release → subprocess rebinds. Under pytest-xdist another worker claims the po... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/modelcontextprotocol/python-sdk/pull/2267#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2267 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2267 |
|
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=modelcontextprotocol%2Fpython-sdk |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| Reload | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
|
modelcontextprotocol
| https://github.com/modelcontextprotocol |
| python-sdk | https://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 |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| maxisbey/max-157-flaky-convert-websocket-tests-to-in-memory-transport-remove | https://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/max-157-flaky-convert-websocket-tests-to-in-memory-transport-remove |
| Conversation | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| Commits5 (5) | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits |
| Checks | https://github.com/modelcontextprotocol/python-sdk/pull/2267/checks |
| Files changed | https://github.com/modelcontextprotocol/python-sdk/pull/2267/files |
| test: fix WS test port race; narrow to single smoke test covering both transport ends | https://github.com/modelcontextprotocol/python-sdk/pull/2267#top |
| maxisbey | https://github.com/maxisbey |
| main | https://github.com/modelcontextprotocol/python-sdk/tree/main |
| maxisbey/max-157-flaky-convert-websocket-tests-to-in-memory-transport-remove | https://github.com/modelcontextprotocol/python-sdk/tree/maxisbey/max-157-flaky-convert-websocket-tests-to-in-memory-transport-remove |
|
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Mar 10, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#issue-4052277806 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| job 63414508256 | https://github.com/modelcontextprotocol/python-sdk/actions/runs/21954536219/job/63414508256 |
| test_client.py::test_read_resource | https://github.com/modelcontextprotocol/python-sdk/blob/main/tests/client/test_client.py |
| test_88_random_error.py | https://github.com/modelcontextprotocol/python-sdk/blob/main/tests/issues/test_88_random_error.py |
| ci: run strict-no-cover in scripts/test to catch stale pragmas locally #2305 | https://github.com/modelcontextprotocol/python-sdk/pull/2305 |
| AI Disclaimer | https://gist.github.com/maxisbey/6123d132484e4c533eab519a2800693d |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| March 10, 2026 14:42 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#event-23435308039 |
| maxisbey | https://github.com/maxisbey |
| March 18, 2026 11:34 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#commits-pushed-a5fc7f4 |
|
| https://github.com/maxisbey |
| test: convert WebSocket tests to in-memory transport | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/a5fc7f4cd8f906fb149d0daf4b2f01891fc9c6f9 |
| a5fc7f4 | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/a5fc7f4cd8f906fb149d0daf4b2f01891fc9c6f9 |
|
| https://github.com/maxisbey |
| test: reduce test_ws.py to just the WS smoke test | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/49db5ec2a4d3a3dbe180e5761bb1eb431a5355fc |
| 49db5ec | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/49db5ec2a4d3a3dbe180e5761bb1eb431a5355fc |
|
| https://github.com/maxisbey |
| test: pre-bind socket in run_uvicorn_in_thread, drop polling loop | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/b66b4ea5e7f85baa1b9e486ce94eea64e03a6e40 |
| b66b4ea | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/b66b4ea5e7f85baa1b9e486ce94eea64e03a6e40 |
|
| https://github.com/maxisbey |
| test: narrow websocket_server pragma now that coverage reaches it | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/400f541b4e05248e7df8cec5ae651451bf825d9f |
| 400f541 | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/400f541b4e05248e7df8cec5ae651451bf825d9f |
| #2305 | https://github.com/modelcontextprotocol/python-sdk/pull/2305 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| force-pushed | https://github.com/modelcontextprotocol/python-sdk/compare/97ba3fab54a60a1afe2be7d549d76a06adc5f0d1..400f541b4e05248e7df8cec5ae651451bf825d9f |
| 97ba3fa | https://github.com/modelcontextprotocol/python-sdk/commit/97ba3fab54a60a1afe2be7d549d76a06adc5f0d1 |
| 400f541 | https://github.com/modelcontextprotocol/python-sdk/commit/400f541b4e05248e7df8cec5ae651451bf825d9f |
|
Compare
| https://github.com/modelcontextprotocol/python-sdk/compare/97ba3fab54a60a1afe2be7d549d76a06adc5f0d1..400f541b4e05248e7df8cec5ae651451bf825d9f |
| March 18, 2026 11:43 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#event-23678849991 |
|
| https://github.com/maxisbey |
| test: set interface=asgi3 to skip uvicorn's 3.14-deprecated autodetect | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/97a1bf244a39af905d033d53dbbe7f158e49efba |
| 97a1bf2 | https://github.com/modelcontextprotocol/python-sdk/pull/2267/commits/97a1bf244a39af905d033d53dbbe7f158e49efba |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| March 18, 2026 13:51 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#event-23682904295 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| Mar 18, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#event-23682941167 |
| https://github.com/jerome3o-anthropic |
| jerome3o-anthropic | https://github.com/jerome3o-anthropic |
|
Mar 18, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2267#pullrequestreview-3968832423 |
|
View reviewed changes
| https://github.com/modelcontextprotocol/python-sdk/pull/2267/files/97a1bf244a39af905d033d53dbbe7f158e49efba |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| 67201a9 | https://github.com/modelcontextprotocol/python-sdk/commit/67201a9bbd9c31419716886d9c1036e6370f83dc |
| Mar 18, 2026 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#event-23687293727 |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| https://github.com/maxisbey |
| maxisbey | https://github.com/maxisbey |
| March 18, 2026 15:48 | https://github.com/modelcontextprotocol/python-sdk/pull/2267#event-23687294825 |
| maxisbey | https://github.com/maxisbey |
|
Mar 18, 2026
| https://github.com/modelcontextprotocol/python-sdk/pull/2267#ref-commit-50a2183 |
|
| https://github.com/maxisbey |
| chore: adopt run_uvicorn_in_thread from MAX-157, drop wait_for_server | https://github.com/modelcontextprotocol/python-sdk/commit/50a2183e468dadd65f4760f7c1652951e4cc021c |
| 50a2183 | https://github.com/modelcontextprotocol/python-sdk/commit/50a2183e468dadd65f4760f7c1652951e4cc021c |
| #2267 | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
| #2277 | https://github.com/modelcontextprotocol/python-sdk/pull/2277 |
| https://github.co/hiddenchars |
| https://github.com/modelcontextprotocol/python-sdk/pull/{{ revealButtonHref }} |
| 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%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F2267 |
|
| https://github.com/jerome3o-anthropic |
|
jerome3o-anthropic
| https://github.com/jerome3o-anthropic |
|
| https://github.com/modelcontextprotocol/python-sdk/pull/2267/files/97a1bf244a39af905d033d53dbbe7f158e49efba |
| Please reload this page | https://github.com/modelcontextprotocol/python-sdk/pull/2267 |
|
| https://github.com/maxisbey |
|
| https://github.com/jerome3o-anthropic |
|
| 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 |