| 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:71c631eb-7ebb-93ec-9f48-5609ae73ed5b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B7A:220088:900B8A:C89606:696A7FFE |
| html-safe-nonce | f7ff89dec8bcd048b60bc8b6d09182550876a3257e01365de334df2183d50b69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjdBOjIyMDA4ODo5MDBCOEE6Qzg5NjA2OjY5NkE3RkZFIiwidmlzaXRvcl9pZCI6IjMwMjE4MDA1MDAwMTM3Mjc3NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5e7214c6a8c8216fdaefe21127e08b2d76b24da56fb1b39ecfdf4ff6a1f9076e |
| hovercard-subject-tag | pull_request:104155687 |
| 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/typing/383/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0378c261dc134971129a429883665eef8863da52988b5c6b13fcc8d06dce6c4b/python/typing/pull/383 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0378c261dc134971129a429883665eef8863da52988b5c6b13fcc8d06dce6c4b/python/typing/pull/383 |
| og:image:alt | Extensive use of isinstance with ABCs causes significant increase in memory consumption by generics, see https://mail.python.org/pipermail/python-dev/2017-January/147194.html
Here I make _abc_cache... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilevkivskyi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| 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 | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/typing/pull/383#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F383 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F383 |
|
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 |
| Reload | https://github.com/python/typing/pull/383 |
| Reload | https://github.com/python/typing/pull/383 |
| Reload | https://github.com/python/typing/pull/383 |
|
python
| https://github.com/python |
| typing | https://github.com/python/typing |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Ftyping |
|
Fork
283
| https://github.com/login?return_to=%2Fpython%2Ftyping |
|
Star
1.7k
| https://github.com/login?return_to=%2Fpython%2Ftyping |
|
Code
| https://github.com/python/typing |
|
Issues
187
| https://github.com/python/typing/issues |
|
Pull requests
12
| https://github.com/python/typing/pulls |
|
Discussions
| https://github.com/python/typing/discussions |
|
Actions
| https://github.com/python/typing/actions |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/typing/security |
| Please reload this page | https://github.com/python/typing/pull/383 |
|
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
| https://github.com/python/typing/security |
|
Insights
| https://github.com/python/typing/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Ftyping%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/typing/pull/383#issue-comment-box |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/typing/tree/master |
| ilevkivskyi:optimize-weakset | https://github.com/ilevkivskyi/typehinting/tree/optimize-weakset |
|
Optimize ABC caches
| https://github.com/python/typing/pull/383#top |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/typing/tree/master |
| ilevkivskyi:optimize-weakset | https://github.com/ilevkivskyi/typehinting/tree/optimize-weakset |
|
Conversation
16
| https://github.com/python/typing/pull/383 |
|
Commits
8
| https://github.com/python/typing/pull/383/commits |
|
Checks
0
| https://github.com/python/typing/pull/383/checks |
|
Files changed
| https://github.com/python/typing/pull/383/files |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/{{ revealButtonHref }} |
|
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 1, 2017 | https://github.com/python/typing/pull/383#issue-204611095 |
| https://mail.python.org/pipermail/python-dev/2017-January/147194.html | https://mail.python.org/pipermail/python-dev/2017-January/147194.html |
| @methane | https://github.com/methane |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Feb 1, 2017 | https://github.com/python/typing/pull/383#event-944898023 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 1, 2017 | https://github.com/python/typing/pull/383#issuecomment-276694681 |
| @methane | https://github.com/methane |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276889656 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/methane |
| methane | https://github.com/methane |
|
Feb 2, 2017
| https://github.com/python/typing/pull/383#pullrequestreview-19748313 |
|
View reviewed changes
| https://github.com/python/typing/pull/383/files |
| python2/typing.py | https://github.com/python/typing/pull/383/files#diff-cbea31cd6366bdaf7805202979325ba4b14a29613bb7aeaecf9a18e94ea93619 |
| methane | https://github.com/methane |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#discussion_r99086230 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/383 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#discussion_r99088586 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/383 |
| methane | https://github.com/methane |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#discussion_r99096667 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/383 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#discussion_r99104133 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276950409 |
| @methane | https://github.com/methane |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276953399 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276955752 |
| https://gist.github.com/methane/3c34f11fb677365a7e92afe73aca24e7 | https://gist.github.com/methane/3c34f11fb677365a7e92afe73aca24e7 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276960443 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276961094 |
| … | https://github.com/python/typing/pull/383 |
| #383 (comment) | https://github.com/python/typing/pull/383#issuecomment-276960443 |
| https://github.com/notifications/unsubscribe-auth/AAMLqOlWiR55Oauh63T5OXsuof73RMjMks5rYd3DgaJpZM4Lz-42 | https://github.com/notifications/unsubscribe-auth/AAMLqOlWiR55Oauh63T5OXsuof73RMjMks5rYd3DgaJpZM4Lz-42 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276962587 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276965411 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 2, 2017 | https://github.com/python/typing/pull/383#issuecomment-276986025 |
| @methane | https://github.com/methane |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Feb 3, 2017
| https://github.com/python/typing/pull/383#ref-pullrequest-203817379 |
|
Add some tests based on coverage report: Part 2
#375
| https://github.com/python/typing/pull/375 |
| February 4, 2017 11:03 | https://github.com/python/typing/pull/383#commits-pushed-313ca43 |
|
| https://github.com/ilevkivskyi |
| Optimize ABC negative cache for generics | https://github.com/python/typing/pull/383/commits/313ca4383f59e62fe75b4746bb12751434570b46 |
| 313ca43 | https://github.com/python/typing/pull/383/commits/313ca4383f59e62fe75b4746bb12751434570b46 |
|
| https://github.com/ilevkivskyi |
| Add also positive cache and registry links | https://github.com/python/typing/pull/383/commits/6382c8a16fe511a80fedb9b8bba79425d1f4810f |
| 6382c8a | https://github.com/python/typing/pull/383/commits/6382c8a16fe511a80fedb9b8bba79425d1f4810f |
|
| https://github.com/ilevkivskyi |
| Formatting | https://github.com/python/typing/pull/383/commits/6d1bcf22a082805a472b8d7abe6599f429915689 |
| 6d1bcf2 | https://github.com/python/typing/pull/383/commits/6d1bcf22a082805a472b8d7abe6599f429915689 |
|
| https://github.com/ilevkivskyi |
| Add ABC optimization to PY2 | https://github.com/python/typing/pull/383/commits/c464731f013a691677e7602a22aff2832d84d105 |
| c464731 | https://github.com/python/typing/pull/383/commits/c464731f013a691677e7602a22aff2832d84d105 |
|
| https://github.com/ilevkivskyi |
| Inline internal helper for more speed | https://github.com/python/typing/pull/383/commits/423fb755fed7d8519e00c94f2b17847d3aa65eb1 |
| 423fb75 | https://github.com/python/typing/pull/383/commits/423fb755fed7d8519e00c94f2b17847d3aa65eb1 |
|
| https://github.com/ilevkivskyi |
| Fix negative cahce setters | https://github.com/python/typing/pull/383/commits/f998e24e12b360f1bc6618fbc37d28522c85ab1f |
| f998e24 | https://github.com/python/typing/pull/383/commits/f998e24e12b360f1bc6618fbc37d28522c85ab1f |
|
| https://github.com/ilevkivskyi |
| Fix negative cahce setters on PY2 | https://github.com/python/typing/pull/383/commits/9444b535def9900f34fd48993f57395547716c44 |
| 9444b53 | https://github.com/python/typing/pull/383/commits/9444b535def9900f34fd48993f57395547716c44 |
|
| https://github.com/ilevkivskyi |
| Make negative caches writable only for non-subscripted generics | https://github.com/python/typing/pull/383/commits/0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b |
| 0ca5c0b | https://github.com/python/typing/pull/383/commits/0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| force-pushed | https://github.com/python/typing/compare/149b538b9700a2968cf5eeab0af24a7836ce2e87..0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b |
| 149b538 | https://github.com/python/typing/commit/149b538b9700a2968cf5eeab0af24a7836ce2e87 |
| 0ca5c0b | https://github.com/python/typing/commit/0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b |
|
Compare
| https://github.com/python/typing/compare/149b538b9700a2968cf5eeab0af24a7836ce2e87..0ca5c0b0c6ba2047a65ccff733bde5cbe82bcd2b |
| February 4, 2017 10:12 | https://github.com/python/typing/pull/383#event-949072549 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Feb 10, 2017 | https://github.com/python/typing/pull/383#issuecomment-279039738 |
| PEP 494 | https://www.python.org/dev/peps/pep-0494/#id1 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Feb 10, 2017 | https://github.com/python/typing/pull/383#issuecomment-279041397 |
| Please reload this page | https://github.com/python/typing/pull/383 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| 58c86ad | https://github.com/python/typing/commit/58c86ad81fca6c12ad0aa43b4f2abab07a537bac |
| Feb 10, 2017 | https://github.com/python/typing/pull/383#event-957809799 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Sep 3, 2017
| https://github.com/python/typing/pull/383#ref-issue-254895606 |
|
Proposal: Make generic types non-classes.
#468
| https://github.com/python/typing/issues/468 |
| 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%2Ftyping%2Fpull%2F383 |
|
| https://github.com/methane |
|
methane
| https://github.com/methane |
|
| https://github.com/python/typing/pull/383/files/fefae6822300ae9900b01cbb5e9a87a67b9d98f6 |
|
CLA signed
| https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Please reload this page | https://github.com/python/typing/pull/383 |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/methane |
|
| https://github.com/gvanrossum |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |