René's URL Explorer Experiment


Title: Fix crash on TypeGuard plus "and" by JelleZijlstra · Pull Request #10496 · python/mypy · GitHub

Open Graph Title: Fix crash on TypeGuard plus "and" by JelleZijlstra · Pull Request #10496 · python/mypy

X Title: Fix crash on TypeGuard plus "and" by JelleZijlstra · Pull Request #10496 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: In python/typeshed#5473, I tried to switch a number of inspect functions to use the new TypeGuard functionality. Unfortunately, mypy-primer found a number of crashes in third-party libraries in pla...

X Description: In python/typeshed#5473, I tried to switch a number of inspect functions to use the new TypeGuard functionality. Unfortunately, mypy-primer found a number of crashes in third-party libraries in pla...

Opengraph URL: https://github.com/python/mypy/pull/10496

X: @github

direct link

Domain: github.com

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/_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:5181b8f5-689e-3f48-97f4-74b0b749aa7b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB5CE:2F0104:1D649CD:2702F53:6B004356
html-safe-nonce204ffc3450f0a396f10bb758c97e0e1bd0a39c813e7b1baaac7ae7b88bf9cae6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUNFOjJGMDEwNDoxRDY0OUNEOjI3MDJGNTM6NkIwMDQzNTYiLCJ2aXNpdG9yX2lkIjoiODM1MDI0NDI5MzA1MDM4NTIzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac285ff0ad5ed1b77024be08806a771fc2777d8c68bb0868300ce3a73b915d38f0
hovercard-subject-tagpull_request:646380932
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/mypy/10496/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/90ed1c35ccdb07f919cb9c782f43575a2832dea385d12456ff91c3fa30658435/python/mypy/pull/10496
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90ed1c35ccdb07f919cb9c782f43575a2832dea385d12456ff91c3fa30658435/python/mypy/pull/10496
og:image:altIn python/typeshed#5473, I tried to switch a number of inspect functions to use the new TypeGuard functionality. Unfortunately, mypy-primer found a number of crashes in third-party libraries in pla...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/10496#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F10496
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F10496
Sign uphttps://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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/10496
Reloadhttps://github.com/python/mypy/pull/10496
Reloadhttps://github.com/python/mypy/pull/10496
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests545 (545)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
JelleZijlstrahttps://github.com/JelleZijlstra
masterhttps://github.com/python/mypy/tree/master
tgandhttps://github.com/python/mypy/tree/tgand
Conversationhttps://github.com/python/mypy/pull/10496
Commits8 (8)https://github.com/python/mypy/pull/10496/commits
Checkshttps://github.com/python/mypy/pull/10496/checks
Files changedhttps://github.com/python/mypy/pull/10496/files
Fix crash on TypeGuard plus "and"https://github.com/python/mypy/pull/10496#top
JelleZijlstrahttps://github.com/JelleZijlstra
masterhttps://github.com/python/mypy/tree/master
tgandhttps://github.com/python/mypy/tree/tgand
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 18, 2021https://github.com/python/mypy/pull/10496#issue-893944319
python/typeshed#5473https://github.com/python/typeshed/pull/5473
https://github.com/sphinx-doc/sphinx/blob/4.x/sphinx/util/inspect.py#L252https://github.com/sphinx-doc/sphinx/blob/4.x/sphinx/util/inspect.py#L252
https://github.com/sphinx-doc/sphinx/blob/4.x/sphinx/ext/coverage.py#L212https://github.com/sphinx-doc/sphinx/blob/4.x/sphinx/ext/coverage.py#L212
https://github.com/streamlit/streamlit/blob/develop/lib/streamlit/elements/doc_string.py#L105https://github.com/streamlit/streamlit/blob/develop/lib/streamlit/elements/doc_string.py#L105
#9865https://github.com/python/mypy/pull/9865
Please reload this pagehttps://github.com/python/mypy/pull/10496
JelleZijlstrahttps://github.com/JelleZijlstra
May 17, 2021 20:58https://github.com/python/mypy/pull/10496#commits-pushed-84395cf
https://github.com/JelleZijlstra
failing test casehttps://github.com/python/mypy/pull/10496/commits/84395cf4fe23f4cfeb2e211f0837661726258b03
84395cfhttps://github.com/python/mypy/pull/10496/commits/84395cf4fe23f4cfeb2e211f0837661726258b03
https://github.com/JelleZijlstra
fix the bughttps://github.com/python/mypy/pull/10496/commits/acc5b9efca2d545d158de77062ea9db1dd7a41e0
acc5b9ehttps://github.com/python/mypy/pull/10496/commits/acc5b9efca2d545d158de77062ea9db1dd7a41e0
https://github.com/JelleZijlstra
another casehttps://github.com/python/mypy/pull/10496/commits/2e5116aa5c0cf293fab8a030f897ab3c5a1b1193
2e5116ahttps://github.com/python/mypy/pull/10496/commits/2e5116aa5c0cf293fab8a030f897ab3c5a1b1193
https://github.com/JelleZijlstra
bite the bullet and build the visitorshttps://github.com/python/mypy/pull/10496/commits/91e9364e50109ae3b5d62686150e1747aa52f608
91e9364https://github.com/python/mypy/pull/10496/commits/91e9364e50109ae3b5d62686150e1747aa52f608
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
JukkaLhttps://github.com/JukkaL
May 18, 2021 04:50https://github.com/python/mypy/pull/10496#event-4758183526
JelleZijlstrahttps://github.com/JelleZijlstra
May 18, 2021 05:48https://github.com/python/mypy/pull/10496#commits-pushed-1724438
https://github.com/JelleZijlstra
fix linthttps://github.com/python/mypy/pull/10496/commits/1724438958975b34d66fb1bb1b627e263d7c985f
1724438https://github.com/python/mypy/pull/10496/commits/1724438958975b34d66fb1bb1b627e263d7c985f
https://github.com/JelleZijlstra
Merge remote-tracking branch 'origin/master' into tgandhttps://github.com/python/mypy/pull/10496/commits/832be4166f57cc84872cca57dda914b6a814c59b
832be41https://github.com/python/mypy/pull/10496/commits/832be4166f57cc84872cca57dda914b6a814c59b
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
May 19, 2021 https://github.com/python/mypy/pull/10496#pullrequestreview-662922096
View reviewed changes https://github.com/python/mypy/pull/10496/files/832be4166f57cc84872cca57dda914b6a814c59b
JukkaLhttps://github.com/JukkaL
https://github.com/python/mypy/pull/10496#pullrequestreview-662922096
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/10496
mypy/subtypes.pyhttps://github.com/python/mypy/pull/10496/files/832be4166f57cc84872cca57dda914b6a814c59b#diff-3641fc675bdf772ec816dbb1b8ef258e9f07c15f604d83d7549bf7b873757a54
JukkaLhttps://github.com/JukkaL
May 19, 2021https://github.com/python/mypy/pull/10496#discussion_r635033391
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/10496
JelleZijlstrahttps://github.com/JelleZijlstra
May 19, 2021https://github.com/python/mypy/pull/10496#discussion_r635267541
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/10496
JelleZijlstrahttps://github.com/JelleZijlstra
May 19, 2021https://github.com/python/mypy/pull/10496#discussion_r635270982
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/10496
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 19, 2021https://github.com/python/mypy/pull/10496#issuecomment-844133694
#10489https://github.com/python/mypy/issues/10489
Please reload this pagehttps://github.com/python/mypy/pull/10496
JelleZijlstrahttps://github.com/JelleZijlstra
May 19, 2021 07:01https://github.com/python/mypy/pull/10496#commits-pushed-dace8af
https://github.com/JelleZijlstra
error in subtype visitorhttps://github.com/python/mypy/pull/10496/commits/dace8afb3c505fd85fcf8a6205397c7832f8166b
dace8afhttps://github.com/python/mypy/pull/10496/commits/dace8afb3c505fd85fcf8a6205397c7832f8166b
https://github.com/JelleZijlstra
proper implementation insteadhttps://github.com/python/mypy/pull/10496/commits/892e6564cb5cea2df8cda5eade9dd45f6d7aaa58
892e656https://github.com/python/mypy/pull/10496/commits/892e6564cb5cea2df8cda5eade9dd45f6d7aaa58
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
8e909e4https://github.com/python/mypy/commit/8e909e438e39b3bb4dc488dd8d78f0e721e81ae7
May 21, 2021https://github.com/python/mypy/pull/10496#event-4779375716
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 21, 2021 13:42https://github.com/python/mypy/pull/10496#event-4779375753
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 29, 2021 https://github.com/python/mypy/pull/10496#ref-pullrequest-906477612
bump various dependencies python/typeshed#5551 https://github.com/python/typeshed/pull/5551
https://github.com/A5rocks
A5rockshttps://github.com/A5rocks
Jun 19, 2021 https://github.com/python/mypy/pull/10496#ref-pullrequest-925309272
Fix typeguards crash when assigning guarded value in if statement #10671 https://github.com/python/mypy/pull/10671
type guarded value is same type as typing.TypeGuard[T]? #10899 https://github.com/python/mypy/issues/10899
Fix type guard crashes #11061 https://github.com/python/mypy/pull/11061
hauntsaninjahttps://github.com/hauntsaninja
Sep 14, 2021 https://github.com/python/mypy/pull/10496#ref-commit-05f3857
https://github.com/hauntsaninja
Fix type guard crashes (https://github.com/python/mypy/commit/05f38571f1b7af46dbadaeba0f74626d3a9e07c9
#11061https://github.com/python/mypy/pull/11061
)https://github.com/python/mypy/commit/05f38571f1b7af46dbadaeba0f74626d3a9e07c9
05f3857https://github.com/python/mypy/commit/05f38571f1b7af46dbadaeba0f74626d3a9e07c9
#11007https://github.com/python/mypy/issues/11007
#10899https://github.com/python/mypy/issues/10899
#10647https://github.com/python/mypy/issues/10647
#10496https://github.com/python/mypy/pull/10496
#10683https://github.com/python/mypy/pull/10683
#11015https://github.com/python/mypy/pull/11015
#10496https://github.com/python/mypy/pull/10496
#10899https://github.com/python/mypy/issues/10899
#10683https://github.com/python/mypy/pull/10683
#11015https://github.com/python/mypy/pull/11015
https://github.co/hiddenchars
https://github.com/python/mypy/pull/{{ revealButtonHref }}
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%2Fmypy%2Fpull%2F10496
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/python/mypy/pull/10496/files/832be4166f57cc84872cca57dda914b6a814c59b
Please reload this pagehttps://github.com/python/mypy/pull/10496
Please reload this pagehttps://github.com/python/mypy/pull/10496
https://github.com/JelleZijlstra
https://github.com/JukkaL
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.