René's URL Explorer Experiment


Title: Allow generics in runtime expressions by ilevkivskyi · Pull Request #2302 · python/mypy · GitHub

Open Graph Title: Allow generics in runtime expressions by ilevkivskyi · Pull Request #2302 · python/mypy

X Title: Allow generics in runtime expressions by ilevkivskyi · Pull Request #2302 · python/mypy

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

Open Graph Description: As discussed in python/typing#303 generics in typing.py are now cached and are therefore much faster at runtime than before. Here I propose (and it looks like Guido is not against this) to allow ge...

X Description: As discussed in python/typing#303 generics in typing.py are now cached and are therefore much faster at runtime than before. Here I propose (and it looks like Guido is not against this) to allow ge...

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

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:0c4d1152-731c-c9a7-6e27-7050e2593dbb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5CC:2F6A82:116DD70:16D7270:6B000A0E
html-safe-nonce7da8defd38b5add85b39d05b07fee8445aef82849edb2ec9752fade670ef00c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUNDOjJGNkE4MjoxMTZERDcwOjE2RDcyNzA6NkIwMDBBMEUiLCJ2aXNpdG9yX2lkIjoiOTA3NTkwOTUwMzM4NzQzNzU4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1e09719a4034d76ce9c60f9710aad1fbc41b5b6dc23455a364f70763cc103490
hovercard-subject-tagpull_request:90443330
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/2302/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e505d2cd73f24e06a83af047f65a85778c30ae0ad1e5e834170365e07f947e2f/python/mypy/pull/2302
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e505d2cd73f24e06a83af047f65a85778c30ae0ad1e5e834170365e07f947e2f/python/mypy/pull/2302
og:image:altAs discussed in python/typing#303 generics in typing.py are now cached and are therefore much faster at runtime than before. Here I propose (and it looks like Guido is not against this) to allow ge...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
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
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/2302#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F2302
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%2F2302
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/2302
Reloadhttps://github.com/python/mypy/pull/2302
Reloadhttps://github.com/python/mypy/pull/2302
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 requests547 (547)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
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:masterhttps://github.com/ilevkivskyi/mypy/tree/master
Conversationhttps://github.com/python/mypy/pull/2302
Commits3 (3)https://github.com/python/mypy/pull/2302/commits
Checkshttps://github.com/python/mypy/pull/2302/checks
Files changedhttps://github.com/python/mypy/pull/2302/files
Allow generics in runtime expressionshttps://github.com/python/mypy/pull/2302#top
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:masterhttps://github.com/ilevkivskyi/mypy/tree/master
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 21, 2016https://github.com/python/mypy/pull/2302#issue-184568679
python/typing#303https://github.com/python/typing/issues/303
@JukkaLhttps://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/2302
https://github.com/ilevkivskyi
Allow generics in runtime expressionshttps://github.com/python/mypy/pull/2302/commits/c433cf8e819b69950afd6d994a1bcac04505cc53
c433cf8https://github.com/python/mypy/pull/2302/commits/c433cf8e819b69950afd6d994a1bcac04505cc53
https://github.com/codecov-io
codecov-iohttps://github.com/codecov-io
Oct 21, 2016https://github.com/python/mypy/pull/2302#issuecomment-255465581
Please reload this pagehttps://github.com/python/mypy/pull/2302
Current coveragehttps://codecov.io/gh/python/mypy/pull/2302?src=pr
#2302https://codecov.io/gh/python/mypy/pull/2302?src=pr
masterhttps://codecov.io/gh/python/mypy/branch/master?src=pr
Codecovhttps://codecov.io?src=pr
3ff04c4...1cbd4c5https://codecov.io/gh/python/mypy/compare/3ff04c4794acb614ce047d2c627c29fe62c0286e...1cbd4c59fe49d2ad044c60d249fddbcc0b91b6cd?src=pr
Please reload this pagehttps://github.com/python/mypy/pull/2302
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 21, 2016 https://github.com/python/mypy/pull/2302#ref-pullrequest-184574206
Soften restriction for runtime generics in PEP 484 python/peps#120 https://github.com/python/peps/pull/120
ilevkivskyihttps://github.com/ilevkivskyi
October 21, 2016 23:47https://github.com/python/mypy/pull/2302#commits-pushed-baea55d
https://github.com/ilevkivskyi
Add few more testshttps://github.com/python/mypy/pull/2302/commits/baea55d55c4ae07bb44bc04643689a90eb843d85
baea55dhttps://github.com/python/mypy/pull/2302/commits/baea55d55c4ae07bb44bc04643689a90eb843d85
https://github.com/ilevkivskyi
Re-run Travishttps://github.com/python/mypy/pull/2302/commits/1cbd4c59fe49d2ad044c60d249fddbcc0b91b6cd
1cbd4c5https://github.com/python/mypy/pull/2302/commits/1cbd4c59fe49d2ad044c60d249fddbcc0b91b6cd
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
5b2d3b3https://github.com/python/mypy/commit/5b2d3b3a9f17503726da814e97c7ccb311415333
Oct 24, 2016https://github.com/python/mypy/pull/2302#event-834232380
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 24, 2016https://github.com/python/mypy/pull/2302#issuecomment-255807816
Please reload this pagehttps://github.com/python/mypy/pull/2302
gvanrossumhttps://github.com/gvanrossum
Oct 24, 2016 https://github.com/python/mypy/pull/2302#ref-commit-d309d32
https://github.com/ilevkivskyi
https://github.com/gvanrossum
Soften restriction for runtime generics in PEP 484 (https://github.com/python/peps/commit/d309d327286da385dd4fabb6525677c6de484de2
#120https://github.com/python/peps/pull/120
)https://github.com/python/peps/commit/d309d327286da385dd4fabb6525677c6de484de2
d309d32https://github.com/python/peps/commit/d309d327286da385dd4fabb6525677c6de484de2
python/typing#303https://github.com/python/typing/issues/303
python/mypy#2302https://github.com/python/mypy/pull/2302
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Oct 24, 2016 https://github.com/python/mypy/pull/2302#ref-issue-184905977
Document use of generics in expressions #2307 https://github.com/python/mypy/issues/2307
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 24, 2016https://github.com/python/mypy/pull/2302#issuecomment-255815552
Please reload this pagehttps://github.com/python/mypy/pull/2302
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 24, 2016https://github.com/python/mypy/pull/2302#issuecomment-255818981
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/mypy/pull/2302
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 24, 2016https://github.com/python/mypy/pull/2302#issuecomment-255850943
Please reload this pagehttps://github.com/python/mypy/pull/2302
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Oct 24, 2016https://github.com/python/mypy/pull/2302#issuecomment-255851864
@gvanrossumhttps://github.com/gvanrossum
#2309https://github.com/python/mypy/pull/2309
Please reload this pagehttps://github.com/python/mypy/pull/2302
rowilliahttps://github.com/rowillia
Oct 24, 2016 https://github.com/python/mypy/pull/2302#ref-commit-5afbd1f
https://github.com/ilevkivskyi
Allow generics in runtime expressions (https://github.com/rowillia/mypy/commit/5afbd1f09b3ad62e10e730524c944c7d3b0037d3
python#2302https://github.com/python/mypy/pull/2302
)https://github.com/rowillia/mypy/commit/5afbd1f09b3ad62e10e730524c944c7d3b0037d3
5afbd1fhttps://github.com/rowillia/mypy/commit/5afbd1f09b3ad62e10e730524c944c7d3b0037d3
python/typing#303https://github.com/python/typing/issues/303
gvanrossumhttps://github.com/gvanrossum
Oct 26, 2016 https://github.com/python/mypy/pull/2302#ref-commit-b9ecdf5
Cleaner (?) fix for crash inhttps://github.com/python/mypy/commit/b9ecdf5b3ad4a2c0903add8c3d2ccd673391dfd3
#2302https://github.com/python/mypy/pull/2302
b9ecdf5https://github.com/python/mypy/commit/b9ecdf5b3ad4a2c0903add8c3d2ccd673391dfd3
#2302 (comment)https://github.com/python/mypy/pull/2302#issuecomment-255815552
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Oct 26, 2016 https://github.com/python/mypy/pull/2302#ref-pullrequest-185266353
Cleaner (?) fix for crash in #2302 #2333 https://github.com/python/mypy/pull/2333
gvanrossumhttps://github.com/gvanrossum
Oct 26, 2016 https://github.com/python/mypy/pull/2302#ref-commit-fc94151
https://github.com/gvanrossum
Cleaner (?) fix for crash inhttps://github.com/python/mypy/commit/fc941511c7ebc762c933118e2107fb1c5158d747
#2302https://github.com/python/mypy/pull/2302
(https://github.com/python/mypy/commit/fc941511c7ebc762c933118e2107fb1c5158d747
#2333https://github.com/python/mypy/pull/2333
)https://github.com/python/mypy/commit/fc941511c7ebc762c933118e2107fb1c5158d747
fc94151https://github.com/python/mypy/commit/fc941511c7ebc762c933118e2107fb1c5158d747
#2302 (comment)https://github.com/python/mypy/pull/2302#issuecomment-255815552
https://github.com/rwbarton
rwbartonhttps://github.com/rwbarton
Oct 27, 2016 https://github.com/python/mypy/pull/2302#ref-issue-185720818
Aliases for generic class applications get type Any #2349 https://github.com/python/mypy/issues/2349
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Oct 28, 2016 https://github.com/python/mypy/pull/2302#ref-issue-186044079
Disallow isinstance of generic expressions #2373 https://github.com/python/mypy/issues/2373
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%2F2302
Please reload this pagehttps://github.com/python/mypy/pull/2302
Please reload this pagehttps://github.com/python/mypy/pull/2302
https://github.com/ilevkivskyi
https://github.com/codecov-io
https://github.com/gvanrossum
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.