| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:37f6817a-c7c6-5d13-8a46-d6eda20cbb86 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E60E:33DDEF:1F2011A:2A9134B:6B002339 |
| html-safe-nonce | 2e17b02695f517635f254a82e1fa3b1546f77100a846f0ec1640e786a9448329 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjBFOjMzRERFRjoxRjIwMTFBOjJBOTEzNEI6NkIwMDIzMzkiLCJ2aXNpdG9yX2lkIjoiNDM2OTYwNjM2MDQ1MTUyMzM4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d719004aa4597ba956c1710014e86f39f10174a378f969d38eaaead07fd7ed4a |
| hovercard-subject-tag | pull_request:3206768543 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/15320/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/379f1e99adeeebae7cfff0275248d2a1782b57e7640f3f7176ff6ff03662d165/python/typeshed/pull/15320 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/379f1e99adeeebae7cfff0275248d2a1782b57e7640f3f7176ff6ff03662d165/python/typeshed/pull/15320 |
| og:image:alt | Fixes #15307
See Also: #15319
This PR changes the generic type of collections.abc.Container from covariant to contravariant and lets the key be of this type rather than object.
The current definiti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | randolf-scholz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typeshed/pull/15320#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15320 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15320 |
| 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%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/15320 |
| Reload | https://github.com/python/typeshed/pull/15320 |
| Reload | https://github.com/python/typeshed/pull/15320 |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests251 (251) | https://github.com/python/typeshed/pulls |
| Actions | https://github.com/python/typeshed/actions |
| Security and quality | https://github.com/python/typeshed/security |
| Insights | https://github.com/python/typeshed/insights |
| https://github.com/python/typeshed |
| srittau | https://github.com/srittau |
| python:main | https://github.com/python/typeshed/tree/main |
| randolf-scholz:proper_container | https://github.com/randolf-scholz/typeshed/tree/proper_container |
| Conversation | https://github.com/python/typeshed/pull/15320 |
| Commits5 (5) | https://github.com/python/typeshed/pull/15320/commits |
| Checks | https://github.com/python/typeshed/pull/15320/checks |
| Files changed | https://github.com/python/typeshed/pull/15320/files |
| Use contravariant type variable rather than object in Container | https://github.com/python/typeshed/pull/15320#top |
| srittau | https://github.com/srittau |
| python:main | https://github.com/python/typeshed/tree/main |
| randolf-scholz:proper_container | https://github.com/randolf-scholz/typeshed/tree/proper_container |
|
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Jan 24, 2026 | https://github.com/python/typeshed/pull/15320#issue-3851366957 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| #15307 | https://github.com/python/typeshed/issues/15307 |
| #15319 | https://github.com/python/typeshed/pull/15319 |
| forces a lot ofpeople to resort to type: ignore[override] | https://github.com/search?q=%2Fdef+__contains__%5C%28self%2C+%5Cw%2B%3A+%5Cw%2B%5C%29+-%3E+%5Cw%2B%3A%5Cx20%2B%5C%23+type%3A+ignore%2F+language%3APython+&type=code |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| randolf-scholz | https://github.com/randolf-scholz |
| January 24, 2026 15:46 | https://github.com/python/typeshed/pull/15320#commits-pushed-53675b6 |
|
| https://github.com/randolf-scholz |
| use 'Any' rather than object in Container | https://github.com/python/typeshed/pull/15320/commits/53675b6ba3e268258e1d31be5d077f090f7428f1 |
| 53675b6 | https://github.com/python/typeshed/pull/15320/commits/53675b6ba3e268258e1d31be5d077f090f7428f1 |
|
| https://github.com/randolf-scholz |
| use contravariant typevar | https://github.com/python/typeshed/pull/15320/commits/2602adcea6e986d46c9f1a4c36eb3ab06fb26a73 |
| 2602adc | https://github.com/python/typeshed/pull/15320/commits/2602adcea6e986d46c9f1a4c36eb3ab06fb26a73 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
|
Jan 24, 2026
| https://github.com/python/typeshed/pull/15320#ref-pullrequest-3851360673 |
|
Experiment: Use 'Any' rather than object in Container
#15319
| https://github.com/python/typeshed/pull/15319 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15320 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| January 24, 2026 15:01 | https://github.com/python/typeshed/pull/15320#event-22264015129 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
|
Jan 24, 2026
| https://github.com/python/typeshed/pull/15320#ref-issue-3834740524 |
|
Should collections.abc.Container be generic?
#15307
| https://github.com/python/typeshed/issues/15307 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Jan 24, 2026 | https://github.com/python/typeshed/pull/15320#event-22264054910 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Jan 24, 2026 | https://github.com/python/typeshed/pull/15320#issuecomment-3794786825 |
| @hauntsaninja | https://github.com/hauntsaninja |
| @AlexWaygood | https://github.com/AlexWaygood |
| #8785 | https://github.com/python/typeshed/pull/8785 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
|
| https://github.com/randolf-scholz |
| add comment for Container[Any] usage in Collection | https://github.com/python/typeshed/pull/15320/commits/09a0f41ea240944b6ff69531352c492a0e706a2c |
| 09a0f41 | https://github.com/python/typeshed/pull/15320/commits/09a0f41ea240944b6ff69531352c492a0e706a2c |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
Jan 24, 2026
| https://github.com/python/typeshed/pull/15320#pullrequestreview-3701823411 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/15320/files/09a0f41ea240944b6ff69531352c492a0e706a2c |
| stdlib/typing.pyi | https://github.com/python/typeshed/pull/15320/files/09a0f41ea240944b6ff69531352c492a0e706a2c#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Jan 24, 2026 | https://github.com/python/typeshed/pull/15320#issuecomment-3794803445 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
|
| https://github.com/randolf-scholz |
| make _T_contra default to Any | https://github.com/python/typeshed/pull/15320/commits/7201649f2fcdbd1ce3bb073ee72896f59f9b2743 |
| 7201649 | https://github.com/python/typeshed/pull/15320/commits/7201649f2fcdbd1ce3bb073ee72896f59f9b2743 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15320 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Jan 24, 2026
| https://github.com/python/typeshed/pull/15320#pullrequestreview-3701839081 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/15320/files/7201649f2fcdbd1ce3bb073ee72896f59f9b2743 |
| AlexWaygood | https://github.com/AlexWaygood |
| https://github.com/python/typeshed/pull/15320#pullrequestreview-3701839081 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| stdlib/typing.pyi | https://github.com/python/typeshed/pull/15320/files/7201649f2fcdbd1ce3bb073ee72896f59f9b2743#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| stdlib/typing.pyi | https://github.com/python/typeshed/pull/15320/files/7201649f2fcdbd1ce3bb073ee72896f59f9b2743#diff-b12c4be0f8e39f89957bbe7be6b6327185e18b69ea80a0f62c0746bb26f4a58e |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
|
| https://github.com/randolf-scholz |
| renamed type var and restored crucial comment | https://github.com/python/typeshed/pull/15320/commits/45ebd8a496bd33b238fbb636d5f7be0c85d68364 |
| 45ebd8a | https://github.com/python/typeshed/pull/15320/commits/45ebd8a496bd33b238fbb636d5f7be0c85d68364 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Jan 24, 2026
| https://github.com/python/typeshed/pull/15320#pullrequestreview-3701893338 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/15320/files/45ebd8a496bd33b238fbb636d5f7be0c85d68364 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jan 24, 2026 | https://github.com/python/typeshed/pull/15320#issuecomment-3794932692 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
Jan 24, 2026
| https://github.com/python/typeshed/pull/15320#pullrequestreview-3701978337 |
|
View reviewed changes
| https://github.com/python/typeshed/pull/15320/files/45ebd8a496bd33b238fbb636d5f7be0c85d68364 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| 35b688e | https://github.com/python/typeshed/commit/35b688e98e130cd98e26f7d25936b544d5d4c93e |
| Jan 24, 2026 | https://github.com/python/typeshed/pull/15320#event-22264809432 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| sharkdp | https://github.com/sharkdp |
|
Feb 2, 2026
| https://github.com/python/typeshed/pull/15320#ref-commit-45c4ba3 |
|
| https://github.com/sharkdp |
| Update MROs involving Container, see | https://github.com/astral-sh/ruff/commit/45c4ba3738770fb749f86ae3d0adf993d48eb9b9 |
| python/typeshed#15320 | https://github.com/python/typeshed/pull/15320 |
| 45c4ba3 | https://github.com/astral-sh/ruff/commit/45c4ba3738770fb749f86ae3d0adf993d48eb9b9 |
| https://github.com/cdce8p |
| cdce8p | https://github.com/cdce8p |
|
Feb 3, 2026
| https://github.com/python/typeshed/pull/15320#ref-pullrequest-3890686277 |
|
Sync typeshed
python/mypy#20729
| https://github.com/python/mypy/pull/20729 |
| https://github.com/sharkdp |
| sharkdp | https://github.com/sharkdp |
|
Feb 3, 2026
| https://github.com/python/typeshed/pull/15320#ref-pullrequest-3880603708 |
|
[ty] Sync vendored typeshed stubs
astral-sh/ruff#23006
| https://github.com/astral-sh/ruff/pull/23006 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
| Feb 23, 2026 | https://github.com/python/typeshed/pull/15320#issuecomment-3942787033 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| https://github.com/randolf-scholz |
| randolf-scholz | https://github.com/randolf-scholz |
| Feb 23, 2026 | https://github.com/python/typeshed/pull/15320#issuecomment-3946351251 |
| @hauntsaninja | https://github.com/hauntsaninja |
| #15320 (comment) | https://github.com/python/typeshed/pull/15320#discussion_r2724259028 |
| #15320 (comment) | https://github.com/python/typeshed/pull/15320#discussion_r2724280777 |
| python/mypy#20729 (comment) | https://github.com/python/mypy/pull/20729#issuecomment-3944158389 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
| Feb 23, 2026 | https://github.com/python/typeshed/pull/15320#issuecomment-3947695643 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F15320 |
|
| https://github.com/srittau |
|
srittau
| https://github.com/srittau |
|
| https://github.com/python/typeshed/pull/15320/files/45ebd8a496bd33b238fbb636d5f7be0c85d68364 |
|
| https://github.com/AlexWaygood |
|
AlexWaygood
| https://github.com/AlexWaygood |
|
| https://github.com/python/typeshed/pull/15320/files/45ebd8a496bd33b238fbb636d5f7be0c85d68364 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
|
Should collections.abc.Container be generic?
| https://github.com/python/typeshed/issues/15307 |
| Please reload this page | https://github.com/python/typeshed/pull/15320 |
|
| https://github.com/randolf-scholz |
|
| https://github.com/hauntsaninja |
|
| https://github.com/srittau |
|
| https://github.com/AlexWaygood |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |