René's URL Explorer Experiment


Title: Soften restriction for runtime generics in PEP 484 by ilevkivskyi · Pull Request #120 · python/peps · GitHub

Open Graph Title: Soften restriction for runtime generics in PEP 484 by ilevkivskyi · Pull Request #120 · python/peps

X Title: Soften restriction for runtime generics in PEP 484 by ilevkivskyi · Pull Request #120 · python/peps

Description: Fixes python/typing#303 @gvanrossum Please take a look. I made a PR to allow this in mypy python/mypy#2302 . Here I just propose to soften the restriction, i.e., avoid "must". As a motivation, in Python one always can substitute expressions, so that if IntNode = Node[int]; IntNode() works, then it is reasonable to also allow Node[int], but say that the first way is preferred.

Open Graph Description: Fixes python/typing#303 @gvanrossum Please take a look. I made a PR to allow this in mypy python/mypy#2302 . Here I just propose to soften the restriction, i.e., avoid "must". As a motiva...

X Description: Fixes python/typing#303 @gvanrossum Please take a look. I made a PR to allow this in mypy python/mypy#2302 . Here I just propose to soften the restriction, i.e., avoid "must". As ...

Opengraph URL: https://github.com/python/peps/pull/120

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:10742ee4-7e3e-eed8-9514-8e6b12d02a1b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id902A:DD1C:1FF0826:2B5591A:6B001CF4
html-safe-nonce5e4527bf6dede26ba2053ae7b1c4eeb286a016189ffc39c8d2d0835099b16d77
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDJBOkREMUM6MUZGMDgyNjoyQjU1OTFBOjZCMDAxQ0Y0IiwidmlzaXRvcl9pZCI6IjIwNzg5ODQ5MzQzNzgxODM5MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0bb4b81ddd7f3a74e7dc13b1dfba9ce1dddb585c8958b9bdc9b7cf1391fa7bb2
hovercard-subject-tagpull_request:90447382
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/python/peps/pull/120/files
twitter:imagehttps://avatars.githubusercontent.com/u/12005495?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/12005495?s=400&v=4
og:image:altFixes python/typing#303 @gvanrossum Please take a look. I made a PR to allow this in mypy python/mypy#2302 . Here I just propose to soften the restriction, i.e., avoid "must". As a motiva...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/peps git https://github.com/python/peps.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id13414105
octolytics-dimension-repository_nwopython/peps
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13414105
octolytics-dimension-repository_network_root_nwopython/peps
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/peps/pull/120/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpeps%2Fpull%2F120%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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fpeps%2Fpull%2F120%2Ffiles
Sign uphttps://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=python%2Fpeps
Reloadhttps://github.com/python/peps/pull/120/files
Reloadhttps://github.com/python/peps/pull/120/files
Reloadhttps://github.com/python/peps/pull/120/files
pythonhttps://github.com/python
pepshttps://github.com/python/peps
Codehttps://github.com/python/peps
Issues19 (19)https://github.com/python/peps/issues
Pull requests39 (39)https://github.com/python/peps/pulls
Actionshttps://github.com/python/peps/actions
Security and qualityhttps://github.com/python/peps/security
Insightshttps://github.com/python/peps/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fpeps%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fpeps%2Fissues%2Fnew%2Fchoose
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/peps/tree/master
ilevkivskyi:soften-runtime-genericshttps://github.com/ilevkivskyi/peps/tree/soften-runtime-generics
Conversation 2 https://github.com/python/peps/pull/120
Commits 1 https://github.com/python/peps/pull/120/commits
Checks 0 https://github.com/python/peps/pull/120/checks
Files changed https://github.com/python/peps/pull/120/files
Please reload this pagehttps://github.com/python/peps/pull/120/files
Soften restriction for runtime generics in PEP 484 https://github.com/python/peps/pull/120/files#top
Show all changes 1 commit https://github.com/python/peps/pull/120/files
87a07fe Soften restriction for runtime generics in PEP 484 ilevkivskyi Oct 21, 2016 https://github.com/python/peps/pull/120/commits/87a07fe2188507edcbcc2611d5de8532ad673cab
Clear filters https://github.com/python/peps/pull/120/files
Please reload this pagehttps://github.com/python/peps/pull/120/files
Please reload this pagehttps://github.com/python/peps/pull/120/files
pep-0484.txthttps://github.com/python/peps/pull/120/files#diff-da7d638a3d189515209a80943cdc8eaf196b75d20ccc0d6a796393c025d1f975
View file https://github.com/ilevkivskyi/peps/blob/87a07fe2188507edcbcc2611d5de8532ad673cab/pep-0484.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/peps/pull/120/{{ revealButtonHref }}
https://github.com/python/peps/pull/120/files#diff-da7d638a3d189515209a80943cdc8eaf196b75d20ccc0d6a796393c025d1f975
https://github.com/python/peps/pull/120/files#diff-da7d638a3d189515209a80943cdc8eaf196b75d20ccc0d6a796393c025d1f975
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.