René's URL Explorer Experiment


Title: Detect event-loop blocking in tests by Kludex · Pull Request #3510 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Detect event-loop blocking in tests by Kludex · Pull Request #3510 · modelcontextprotocol/python-sdk

X Title: Detect event-loop blocking in tests by Kludex · Pull Request #3510 · modelcontextprotocol/python-sdk

Description: Summary add BlockBuster to detect blocking calls from mcp and mcp_types exempt coverage internals, jsonschema lazy imports, and synchronous media conversion resolve Windows executables off the event loop Tests ./scripts/test uv run --frozen ruff format --check . uv run --frozen ruff check . uv run --frozen pyright AI Disclaimer This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.

Open Graph Description: Summary add BlockBuster to detect blocking calls from mcp and mcp_types exempt coverage internals, jsonschema lazy imports, and synchronous media conversion resolve Windows executables off the eve...

X Description: Summary add BlockBuster to detect blocking calls from mcp and mcp_types exempt coverage internals, jsonschema lazy imports, and synchronous media conversion resolve Windows executables off the eve...

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

X: @github

direct link

Domain: redirect.github.com

IPv4 address: 140.82.114.3

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:08bdc046-ae5b-b7bf-08a3-8b19673335d8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAC54:2876DA:2CC90E3:3AFED0C:6B056EF1
html-safe-noncef8d95b19ee79262fd18fb5d48cf5d88dded3f8ab6daa7df3654dace781d2793f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzU0OjI4NzZEQToyQ0M5MEUzOjNBRkVEMEM6NkIwNTZFRjEiLCJ2aXNpdG9yX2lkIjoiMjI4MjU4MjM4Mjk2MjExMDE5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb4148828985d6dae739369d01ff269ab970a73c103d8e059956f315e2c23e45f
hovercard-subject-tagpull_request:4545598318
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3510/files
twitter:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7353520?s=400&v=4
og:image:altSummary add BlockBuster to detect blocking calls from mcp and mcp_types exempt coverage internals, jsonschema lazy imports, and synchronous media conversion resolve Windows executables off the eve...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef089e689ad324655ac44bf6cdbc04d976105b374
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3510%2Ffiles
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3510%2Ffiles
Sign uphttps://redirect.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%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
Reloadhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
modelcontextprotocolhttps://redirect.github.com/modelcontextprotocol
python-sdkhttps://redirect.github.com/modelcontextprotocol/python-sdk
Codehttps://redirect.github.com/modelcontextprotocol/python-sdk
Issues320 (320)https://redirect.github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://redirect.github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://redirect.github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://redirect.github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://redirect.github.com/modelcontextprotocol/python-sdk/security
Insightshttps://redirect.github.com/modelcontextprotocol/python-sdk/insights
Sign up for GitHub https://redirect.github.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://redirect.github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
Kludexhttps://redirect.github.com/Kludex
mainhttps://redirect.github.com/modelcontextprotocol/python-sdk/tree/main
worktree-bright-badger-tds7https://redirect.github.com/modelcontextprotocol/python-sdk/tree/worktree-bright-badger-tds7
Conversation 23 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510
Commits 9 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits
Checks 40 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/checks
Files changed 5 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
Detect event-loop blocking in tests https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#top
Show all changes 9 commits https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
dcc8afa Detect event-loop blocking in tests Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/dcc8afae7274a68cda8d9863cd084391282dcd6e
3e2e5eb Keep validator cache updates on the event loop Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/3e2e5eb9eaded63c4d9fc8124c1564ffbfffd3d5
797d113 Resolve Windows executables off the event loop Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/797d113dee8f61c3de67ca7aa6dc6bc576c2cb6d
b66cfad Isolate fake stdio processes from command resolution Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/b66cfadb684d0c36a2cd19a425eab678d2ca17d4
2f04ac8 Abandon canceled Windows command resolution Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/2f04ac87adba8a6d4e5e85af9126d789e3724891
ca72543 Keep validator compilation independent of shared workers Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/ca725437330750f1fd4f1acb92f4d268d9d35396
8b118f8 Match Starlette's BlockBuster fixture pattern Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/8b118f8ef32c47630a588192392e3c243d913c21
36fc996 Allow jsonschema lazy imports in BlockBuster Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/36fc996cd35a2b52fecc6815022285bed44c33e1
4cd5f41 Cover lazy imports across supported Python versions Kludex Sep 16, 2026 https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/commits/4cd5f410e096a3e22476b9d07733c7035280a079
Clear filters https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
pyproject.toml https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
stdio.py https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
test_stdio.py https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
conftest.py https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
uv.lock https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
pyproject.tomlhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://redirect.github.com/modelcontextprotocol/python-sdk/blob/4cd5f410e096a3e22476b9d07733c7035280a079/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/{{ revealButtonHref }}
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
src/mcp/client/stdio.pyhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
View file https://redirect.github.com/modelcontextprotocol/python-sdk/blob/4cd5f410e096a3e22476b9d07733c7035280a079/src/mcp/client/stdio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/{{ revealButtonHref }}
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-a906fce75e115cde24e79b8cdac6442af7845748f57ec0e997ff81f089408186
tests/client/test_stdio.pyhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
View file https://redirect.github.com/modelcontextprotocol/python-sdk/blob/4cd5f410e096a3e22476b9d07733c7035280a079/tests/client/test_stdio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/{{ revealButtonHref }}
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-49f66b09e4d89b29b440c955c429fe948dbcc3bbb08fffb504cf40be24382352
tests/conftest.pyhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
View file https://redirect.github.com/modelcontextprotocol/python-sdk/blob/4cd5f410e096a3e22476b9d07733c7035280a079/tests/conftest.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/{{ revealButtonHref }}
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
https://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128
uv.lockhttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
View file https://redirect.github.com/modelcontextprotocol/python-sdk/blob/4cd5f410e096a3e22476b9d07733c7035280a079/uv.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
Please reload this pagehttps://redirect.github.com/modelcontextprotocol/python-sdk/pull/3510/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.