René's URL Explorer Experiment


Title: Re-broaden type to Any if it started as Any but was narrowed in an enclosing frame by lincolnq · Pull Request #3361 · python/mypy · GitHub

Open Graph Title: Re-broaden type to Any if it started as Any but was narrowed in an enclosing frame by lincolnq · Pull Request #3361 · python/mypy

X Title: Re-broaden type to Any if it started as Any but was narrowed in an enclosing frame by lincolnq · Pull Request #3361 · python/mypy

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

Open Graph Description: Fixes #3338. Note 1: I don't understand mypy very well yet so be warned that this may break things I don't understand. Note 2: it looks like I was confused in the original bug report, and ...

X Description: Fixes #3338. Note 1: I don't understand mypy very well yet so be warned that this may break things I don't understand. Note 2: it looks like I was confused in the original bug repo...

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

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:eaf77adf-9f13-d27d-fa83-aec7e2fd8639
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA4E6:3E1398:BCE266:FD34B8:6B004D57
html-safe-nonce90cd726db5f1efc5a03cb60e8f5850ac095839288563646822b70ea7ba17e40b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNEU2OjNFMTM5ODpCQ0UyNjY6RkQzNEI4OjZCMDA0RDU3IiwidmlzaXRvcl9pZCI6IjYzNDk1ODY3MzA1ODQxMzI5NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac77fa28a15fca46e37399c4caea0fabb7b8e92495d97265a44c98abb00daa0e47
hovercard-subject-tagpull_request:120449078
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/3361/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bd070f6dd30fc431628c254d3f876dc13f160c65c1daf0426fd7d1320772f8c8/python/mypy/pull/3361
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bd070f6dd30fc431628c254d3f876dc13f160c65c1daf0426fd7d1320772f8c8/python/mypy/pull/3361
og:image:altFixes #3338. Note 1: I don't understand mypy very well yet so be warned that this may break things I don't understand. Note 2: it looks like I was confused in the original bug report, and ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelincolnq
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
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
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/3361#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F3361
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%2F3361
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/3361
Reloadhttps://github.com/python/mypy/pull/3361
Reloadhttps://github.com/python/mypy/pull/3361
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 requests546 (546)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
ddfisherhttps://github.com/ddfisher
python:masterhttps://github.com/python/mypy/tree/master
lincolnq:lincoln/broaden-back-to-anyhttps://github.com/lincolnq/mypy/tree/lincoln/broaden-back-to-any
Conversationhttps://github.com/python/mypy/pull/3361
Commits5 (5)https://github.com/python/mypy/pull/3361/commits
Checkshttps://github.com/python/mypy/pull/3361/checks
Files changedhttps://github.com/python/mypy/pull/3361/files
Re-broaden type to Any if it started as Any but was narrowed in an enclosing framehttps://github.com/python/mypy/pull/3361#top
ddfisherhttps://github.com/ddfisher
python:masterhttps://github.com/python/mypy/tree/master
lincolnq:lincoln/broaden-back-to-anyhttps://github.com/lincolnq/mypy/tree/lincoln/broaden-back-to-any
https://github.com/lincolnq
lincolnqhttps://github.com/lincolnq
May 13, 2017https://github.com/python/mypy/pull/3361#issue-228474511
#3338https://github.com/python/mypy/issues/3338
https://github.com/python/mypy/compare/master...lincolnq:lincoln/remove-subtype-check-from-binder?expand=1https://github.com/python/mypy/compare/master...lincolnq:lincoln/remove-subtype-check-from-binder?expand=1
Please reload this pagehttps://github.com/python/mypy/pull/3361
lincolnqhttps://github.com/lincolnq
May 13, 2017 16:30https://github.com/python/mypy/pull/3361#commits-pushed-604e9ff
https://github.com/lincolnq
Broaden back to nearest enclosing type when it's an Any typehttps://github.com/python/mypy/pull/3361/commits/604e9ffb32ec49ecc5a963ca4b68fc61f2f3eebe
604e9ffhttps://github.com/python/mypy/pull/3361/commits/604e9ffb32ec49ecc5a963ca4b68fc61f2f3eebe
https://github.com/lincolnq
Add test for narrowing Any properly.https://github.com/python/mypy/pull/3361/commits/eefd4a0c2cce8d58d0625572a0907822e0377a3a
eefd4a0https://github.com/python/mypy/pull/3361/commits/eefd4a0c2cce8d58d0625572a0907822e0377a3a
https://github.com/lincolnq
improve documentationhttps://github.com/python/mypy/pull/3361/commits/fc1ac7804602cdf4b300facb6042e56fa0b547e5
fc1ac78https://github.com/python/mypy/pull/3361/commits/fc1ac7804602cdf4b300facb6042e56fa0b547e5
https://github.com/lincolnq
lincolnqhttps://github.com/lincolnq
May 13, 2017 https://github.com/python/mypy/pull/3361#ref-issue-226858137
Strict optional: Any narrowing to None in a conditional gets "stuck" at None #3338 https://github.com/python/mypy/issues/3338
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
ddfisherhttps://github.com/ddfisher
May 14, 2017 09:11https://github.com/python/mypy/pull/3361#event-1081228389
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
May 16, 2017https://github.com/python/mypy/pull/3361#issuecomment-301646556
Please reload this pagehttps://github.com/python/mypy/pull/3361
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
ddfisherhttps://github.com/ddfisher
Jun 20, 2017https://github.com/python/mypy/pull/3361#event-1131823001
https://github.com/ddfisher
tweak test slightlyhttps://github.com/python/mypy/pull/3361/commits/5a20dfa1fdb2dc127e71c0b2651ce8b13441f779
5a20dfahttps://github.com/python/mypy/pull/3361/commits/5a20dfa1fdb2dc127e71c0b2651ce8b13441f779
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Jul 11, 2017 https://github.com/python/mypy/pull/3361#pullrequestreview-49351273
View reviewed changes https://github.com/python/mypy/pull/3361/files/5a20dfa1fdb2dc127e71c0b2651ce8b13441f779
ddfisherhttps://github.com/ddfisher
https://github.com/python/mypy/pull/3361#pullrequestreview-49351273
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/3361
https://github.com/ddfisher
fix strict Optional issuehttps://github.com/python/mypy/pull/3361/commits/c2889a596b1f674f7696a714e49994d06354f34f
c2889a5https://github.com/python/mypy/pull/3361/commits/c2889a596b1f674f7696a714e49994d06354f34f
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
677a6fchttps://github.com/python/mypy/commit/677a6fcae2ca15b874369bc8a6fd77405d5a33f3
Jul 11, 2017https://github.com/python/mypy/pull/3361#event-1159764140
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 17, 2017 https://github.com/python/mypy/pull/3361#ref-issue-243459480
Assigning a variable to the result of an untyped method removes any existing type constraints #3724 https://github.com/python/mypy/issues/3724
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%2F3361
https://github.com/ddfisher
ddfisher https://github.com/ddfisher
https://github.com/python/mypy/pull/3361/files/5a20dfa1fdb2dc127e71c0b2651ce8b13441f779
Please reload this pagehttps://github.com/python/mypy/pull/3361
https://github.com/ddfisher
ddfisher https://github.com/ddfisher
Strict optional: Any narrowing to None in a conditional gets "stuck" at None https://github.com/python/mypy/issues/3338
Please reload this pagehttps://github.com/python/mypy/pull/3361
https://github.com/lincolnq
https://github.com/gvanrossum
https://github.com/ddfisher
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.