René's URL Explorer Experiment


Title: Make Mapping covariant in keys (too). by gvanrossum · Pull Request #273 · python/typing · GitHub

Open Graph Title: Make Mapping covariant in keys (too). by gvanrossum · Pull Request #273 · python/typing

X Title: Make Mapping covariant in keys (too). by gvanrossum · Pull Request #273 · python/typing

Description: Python static typing home. Hosts the documentation and a user help forum. - Make Mapping covariant in keys (too). by gvanrossum · Pull Request #273 · python/typing

Open Graph Description: See python/typeshed#510

X Description: See python/typeshed#510

Mail addresses
notifications@github.com

Opengraph URL: https://github.com/python/typing/pull/273

X: @github

direct link

Domain: github.com

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:3776d3b5-bc48-df59-2afe-cfe147f7759f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC27E:F25E6:59EFAD:7EAC07:6A623DFB
html-safe-nonce96c2f4a44f621cd35847a16090d47df2bb71efa71df8538a1417ec0bcff34e49
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjdFOkYyNUU2OjU5RUZBRDo3RUFDMDc6NkE2MjNERkIiLCJ2aXNpdG9yX2lkIjoiMjAyNTM2MTkwNjkwMDAyNDgyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac763293628389de7b653805d4d41592bba148f6a817caba554de3e19936efd2f3
hovercard-subject-tagpull_request:83362664
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/typing/273/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cdb47c5f959f5d92be3415a973de5d687048f072b7d99b6220ff124188f99024/python/typing/pull/273
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cdb47c5f959f5d92be3415a973de5d687048f072b7d99b6220ff124188f99024/python/typing/pull/273
og:image:altSee python/typeshed#510
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegvanrossum
hostnamegithub.com
expected-hostnamegithub.com
None81a21eb42fd0e80f3094d5be0f523bc284f5792af0333a266ecada0c39501f0f
turbo-cache-controlno-cache
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
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
release76f36d3a9c09a237d489d4eeeaf6db0b604da73f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typing/pull/273#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F273
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F273
Sign up https://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%2Ftyping
Reloadhttps://github.com/python/typing/pull/273
Reloadhttps://github.com/python/typing/pull/273
Reloadhttps://github.com/python/typing/pull/273
Please reload this pagehttps://github.com/python/typing/pull/273
python https://github.com/python
typinghttps://github.com/python/typing
Notifications https://github.com/login?return_to=%2Fpython%2Ftyping
Fork 304 https://github.com/login?return_to=%2Fpython%2Ftyping
Star 1.8k https://github.com/login?return_to=%2Fpython%2Ftyping
Code https://github.com/python/typing
Issues 204 https://github.com/python/typing/issues
Pull requests 28 https://github.com/python/typing/pulls
Discussions https://github.com/python/typing/discussions
Actions https://github.com/python/typing/actions
Security and quality 0 https://github.com/python/typing/security
Insights https://github.com/python/typing/pulse
Code https://github.com/python/typing
Issues https://github.com/python/typing/issues
Pull requests https://github.com/python/typing/pulls
Discussions https://github.com/python/typing/discussions
Actions https://github.com/python/typing/actions
Security and quality https://github.com/python/typing/security
Insights https://github.com/python/typing/pulse
gvanrossumhttps://github.com/gvanrossum
masterhttps://github.com/python/typing/tree/master
make-mapping-covariant-in-keyshttps://github.com/python/typing/tree/make-mapping-covariant-in-keys
Conversationhttps://github.com/python/typing/pull/273
Commits1 (1)https://github.com/python/typing/pull/273/commits
Checkshttps://github.com/python/typing/pull/273/checks
Files changedhttps://github.com/python/typing/pull/273/files
Make Mapping covariant in keys (too).https://github.com/python/typing/pull/273#top
gvanrossumhttps://github.com/gvanrossum
masterhttps://github.com/python/typing/tree/master
make-mapping-covariant-in-keyshttps://github.com/python/typing/tree/make-mapping-covariant-in-keys
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 30, 2016https://github.com/python/typing/pull/273#issue-174146806
python/typeshed#510https://github.com/python/typeshed/issues/510
Please reload this pagehttps://github.com/python/typing/pull/273
Make Mapping covariant in keys (too).https://github.com/python/typing/pull/273/commits/45ed0f861c41204d64ad77ce82cad93f4eea5d88
45ed0f8https://github.com/python/typing/pull/273/commits/45ed0f861c41204d64ad77ce82cad93f4eea5d88
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 30, 2016 https://github.com/python/typing/pull/273#ref-pullrequest-174146697
Make Mapping covariant. python/typeshed#512 https://github.com/python/typeshed/pull/512
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 31, 2016https://github.com/python/typing/pull/273#issuecomment-243864718
@gvanrossumhttps://github.com/gvanrossum
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 31, 2016https://github.com/python/typing/pull/273#issuecomment-243865459
@JukkaLhttps://github.com/JukkaL
@gvanrossumhttps://github.com/gvanrossum
https://github.com/gvanrossumhttps://github.com/gvanrossum
#273 (comment)https://github.com/python/typing/pull/273#issuecomment-243864718
https://github.com/notifications/unsubscribe-auth/ACwrMurtnwGQvnWtuWVYkyQccwQhQOq8ks5qlc5EgaJpZM4JxET9https://github.com/notifications/unsubscribe-auth/ACwrMurtnwGQvnWtuWVYkyQccwQhQOq8ks5qlc5EgaJpZM4JxET9
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Aug 31, 2016https://github.com/python/typing/pull/273#issuecomment-243868691
python/typeshed#510https://github.com/python/typeshed/issues/510
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Sep 2, 2016https://github.com/python/typing/pull/273#issuecomment-244509311
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Sep 2, 2016https://github.com/python/typing/pull/273#event-777198794
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
October 14, 2016 21:58https://github.com/python/typing/pull/273#event-824608710
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jun 28, 2017 https://github.com/python/typing/pull/273#ref-issue-239205931
Reconsider making Mapping covariant in the key type #445 https://github.com/python/typing/issues/445
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Dec 4, 2018 https://github.com/python/typing/pull/273#ref-issue-387128599
False positive when mixing Mapping and Union python/mypy#6001 https://github.com/python/mypy/issues/6001
https://github.com/Congee
Congeehttps://github.com/Congee
Jun 25, 2020 https://github.com/python/typing/pull/273#ref-issue-585697211
Generic class and Union TypeVar microsoft/pyright#577 https://github.com/microsoft/pyright/issues/577
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 12, 2020 https://github.com/python/typing/pull/273#ref-pullrequest-654601837
Introduce Mapping-like protocols python/typeshed#4325 https://github.com/python/typeshed/pull/4325
https://github.com/jab
jabhttps://github.com/jab
Aug 15, 2020 https://github.com/python/typing/pull/273#ref-issue-463997487
provide type annotations jab/bidict#93 https://github.com/jab/bidict/issues/93
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Nov 19, 2020 https://github.com/python/typing/pull/273#ref-issue-746886099
Dict arguments that contain a subclass are not handled by Mypy correctly python/mypy#9738 https://github.com/python/mypy/issues/9738
https://github.com/Prometheus3375
Prometheus3375https://github.com/Prometheus3375
Feb 21, 2021https://github.com/python/typing/pull/273#issuecomment-782828718
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Feb 22, 2021https://github.com/python/typing/pull/273#issuecomment-783080670
PEP 484https://www.python.org/dev/peps/pep-0484/#the-numeric-tower
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/rhshadrach
rhshadrachhttps://github.com/rhshadrach
Mar 30, 2021https://github.com/python/typing/pull/273#issuecomment-810286866
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/ktbarrett
ktbarretthttps://github.com/ktbarrett
Dec 6, 2021https://github.com/python/typing/pull/273#issuecomment-987008070
Please reload this pagehttps://github.com/python/typing/pull/273
python/typeshed#7121https://github.com/python/typeshed/issues/7121
python/typeshed#7015https://github.com/python/typeshed/issues/7015
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/twoertwein
twoertweinhttps://github.com/twoertwein
Mar 27, 2022 https://github.com/python/typing/pull/273#ref-pullrequest-1174154114
TYP: rename pandas-dev/pandas#46428 https://github.com/pandas-dev/pandas/pull/46428
https://github.com/Avasam
Avasamhttps://github.com/Avasam
Nov 10, 2022 https://github.com/python/typing/pull/273#ref-pullrequest-1444247893
Fix usage of byte2int with bytes python/typeshed#9152 https://github.com/python/typeshed/pull/9152
HighDiceRollerhttps://github.com/HighDiceRoller
Dec 23, 2022 https://github.com/python/typing/pull/273#ref-commit-94a0ad8
https://github.com/HighDiceRoller
covariant populations and generatorshttps://github.com/HighDiceRoller/icepool/commit/94a0ad86d7ea7c3125f293b9dfa65c555edac0c6
https://github.com/HighDiceRoller/icepool/commit/94a0ad86d7ea7c3125f293b9dfa65c555edac0c6#comments
94a0ad8https://github.com/HighDiceRoller/icepool/commit/94a0ad86d7ea7c3125f293b9dfa65c555edac0c6
https://github.com/eltoder
eltoderhttps://github.com/eltoder
Aug 21, 2023 https://github.com/python/typing/pull/273#ref-issue-1858557377
Metadata naming_convention can't be of type dict[str, str] in v2.0.20 sqlalchemy/sqlalchemy#10264 https://github.com/sqlalchemy/sqlalchemy/issues/10264
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Sep 13, 2023 https://github.com/python/typing/pull/273#ref-issue-1894019057
Mapping invariant on key? python/mypy#16103 https://github.com/python/mypy/issues/16103
gsakkishttps://github.com/gsakkis
Sep 14, 2023 https://github.com/python/typing/pull/273#ref-commit-c333423
https://github.com/gsakkis
Change FieldExpr to TypeVar to work around Mappings being invariant i…https://github.com/gsakkis/beanie/commit/c33342314a19505b3b2964ca7ca849449071dda8
c333423https://github.com/gsakkis/beanie/commit/c33342314a19505b3b2964ca7ca849449071dda8
python/typing#445https://github.com/python/typing/issues/445
python/typing#273https://github.com/python/typing/pull/273
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
Apr 9, 2024 https://github.com/python/typing/pull/273#ref-issue-2232548589
Mappings first type parameter should be covariant DetachHead/basedpyright#268 https://github.com/DetachHead/basedpyright/issues/268
https://github.com/LeeeeT
LeeeeThttps://github.com/LeeeeT
Nov 4, 2024 https://github.com/python/typing/pull/273#ref-issue-2632956905
Covariant Mappings key type? KotlinIsland/basedmypy#803 https://github.com/KotlinIsland/basedmypy/issues/803
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Jan 20, 2025 https://github.com/python/typing/pull/273#ref-issue-2800141947
mypy does not infer that a string Literal is a str in the context of a dict or Mapping python/mypy#18494 https://github.com/python/mypy/issues/18494
https://github.com/jorenham
jorenhamhttps://github.com/jorenham
May 4, 2025 https://github.com/python/typing/pull/273#ref-pullrequest-3038081050
covariant key type for MappingProxyType python/typeshed#13940 https://github.com/python/typeshed/pull/13940
https://github.com/reddy0606
reddy0606https://github.com/reddy0606
Oct 22, 2025 https://github.com/python/typing/pull/273#ref-pullrequest-3541690780
Create SECURITY.md for security policy documentation reddy0606/stash_branch#2 https://github.com/reddy0606/stash_branch/pull/2
https://github.com/dangotbanned
dangotbannedhttps://github.com/dangotbanned
Mar 15, 2026 https://github.com/python/typing/pull/273#ref-pullrequest-3755021175
GH-49103: [Python][Annotations] Add internal type system stubs (_types, error, _stubs_typing) apache/arrow#48622 https://github.com/apache/arrow/pull/48622
https://github.com/bcmills
bcmillshttps://github.com/bcmills
Jul 10, 2026https://github.com/python/typing/pull/273#issuecomment-4936391703
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.co/hiddenchars
https://github.com/python/typing/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%2Ftyping%2Fpull%2F273
Please reload this pagehttps://github.com/python/typing/pull/273
https://github.com/gvanrossum
https://github.com/ilevkivskyi
https://github.com/JukkaL
https://github.com/Prometheus3375
https://github.com/rhshadrach
https://github.com/ktbarrett
https://github.com/bcmills
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.