| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dae4ba3d-d376-3ea9-b5b9-47f920898456 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A248:84B9D:785375:A7E68F:696A2A73 |
| html-safe-nonce | f4d29ae47808cd3b5713e3df0a41bec8cbb47bb494bc4c143ea5e836563b6573 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjQ4Ojg0QjlEOjc4NTM3NTpBN0U2OEY6Njk2QTJBNzMiLCJ2aXNpdG9yX2lkIjoiMTYyMzgwNzYzMzIxNjEyMTQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e2dedc1d157ad4be004abfa0a6b06b9cfb2650abe7bbb034f7ee5aae2cfbc50e |
| hovercard-subject-tag | pull_request:490190410 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/22336/files |
| twitter:image | https://avatars.githubusercontent.com/u/43369155?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/43369155?s=400&v=4 |
| og:image:alt | See the relevant BPO for more details: https://bugs.python.org/issue41810.
https://bugs.python.org/issue41810 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c00842167ca2e5b13e8171812965d503e925ece6 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/22336/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22336%2Ffiles |
| 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%2Fcpython%2Fpull%2F22336%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/22336/files |
| Reload | https://github.com/python/cpython/pull/22336/files |
| Reload | https://github.com/python/cpython/pull/22336/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/22336/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/22336/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%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%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gvanrossum | https://github.com/gvanrossum |
| python:master | https://github.com/python/cpython/tree/master |
| BvB93:ellipsis | https://github.com/BvB93/cpython/tree/ellipsis |
|
Conversation
28
| https://github.com/python/cpython/pull/22336 |
|
Commits
13
| https://github.com/python/cpython/pull/22336/commits |
|
Checks
0
| https://github.com/python/cpython/pull/22336/checks |
|
Files changed
| https://github.com/python/cpython/pull/22336/files |
| Please reload this page | https://github.com/python/cpython/pull/22336/files |
|
bpo-41810: Reintroduce types.EllipsisType, .NoneType & .NotImplementedType
| https://github.com/python/cpython/pull/22336/files#top |
|
Show all changes
13 commits
| https://github.com/python/cpython/pull/22336/files |
|
00639fc
Reintroduced `types.EllipsisType`
Sep 18, 2020
| https://github.com/python/cpython/pull/22336/commits/00639fc954adfd94d74d39c451e3b5d54c53f2b4 |
|
0a97a88
Replaced `type(...)` and `type(ellipsis)` with `types.EllipsisType`
Sep 18, 2020
| https://github.com/python/cpython/pull/22336/commits/0a97a885178adaf79d93041aed5bbab3c9e7d264 |
|
8aecfd5
Added `EllipsisType` to the documentation
Sep 18, 2020
| https://github.com/python/cpython/pull/22336/commits/8aecfd52580453da2410f2c69d299a5d99016365 |
|
4066b4b
Added Misc/NEWS.d and whatsnew entries
Sep 20, 2020
| https://github.com/python/cpython/pull/22336/commits/4066b4bbbfb952950b4e4659ba3f47f479695570 |
|
307dcc1
Updated the acknowledgements
Sep 20, 2020
| https://github.com/python/cpython/pull/22336/commits/307dcc1cc9f4f71dcd5d1f67012448e5e63a86c3 |
|
9fc1381
Reintroduced `types.NoneType` and `types.NotImplementedType`
Sep 21, 2020
| https://github.com/python/cpython/pull/22336/commits/9fc1381b3e8ae8cb4fffb1e56df49ed899a64572 |
|
2791a23
Replaced `type(NotImplemented)` and `type(None)`
Sep 21, 2020
| https://github.com/python/cpython/pull/22336/commits/2791a239bacfe1f16e9672ca063cdb1f29e9a147 |
|
da1ab85
Added `types.NoneType` & `types.NotImplementedType` to whatsnew and t…
Sep 21, 2020
| https://github.com/python/cpython/pull/22336/commits/da1ab85ce2a913322f2ad30c3171ac7aecc70e37 |
|
f682623
Replaced a duplicate `EllipsisType` with `NotImplementedType`
Sep 21, 2020
| https://github.com/python/cpython/pull/22336/commits/f682623aa3001a4ac19e727c3103cdb0dce8672e |
|
3701498
Provide motivation for the type reintroduction
Sep 21, 2020
| https://github.com/python/cpython/pull/22336/commits/370149882d2cea95f2fed7c732bcbb6ae343a3fe |
|
33caa6f
Explicitly mention static type checkers
Sep 21, 2020
| https://github.com/python/cpython/pull/22336/commits/33caa6fb32ec98766a9402670176ddde16d47738 |
|
84ebe18
Revert the `type(...)` to `types....` replacements
Sep 21, 2020
| https://github.com/python/cpython/pull/22336/commits/84ebe183e0c4ed9059e88fbede11092759f3eb66 |
|
23ed559
Reworded parts of the `constants` documentation
Sep 22, 2020
| https://github.com/python/cpython/pull/22336/commits/23ed559738432aae3e2cca47636c75f15abc341a |
|
Clear filters
| https://github.com/python/cpython/pull/22336/files |
| Please reload this page | https://github.com/python/cpython/pull/22336/files |
| Please reload this page | https://github.com/python/cpython/pull/22336/files |
|
constants.rst
| https://github.com/python/cpython/pull/22336/files#diff-a5c8887982dc12d495898e655f7bfa6919470688a355f0a6343d24f7ab1eeae7 |
|
types.rst
| https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
|
3.10.rst
| https://github.com/python/cpython/pull/22336/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
|
test_types.py
| https://github.com/python/cpython/pull/22336/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a |
|
types.py
| https://github.com/python/cpython/pull/22336/files#diff-14c8ad728bd63143566c2c1e5a85a7b20cebc910278ac9202978e845dc63f215 |
|
ACKS
| https://github.com/python/cpython/pull/22336/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
2020-09-20-15-14-05.bpo-41810.7l8lyV.rst
| https://github.com/python/cpython/pull/22336/files#diff-f240c5eada99c9997fb80395e0ac1e24afdc24d44f8b0714525d4f868b0fe27d |
| Doc/library/constants.rst | https://github.com/python/cpython/pull/22336/files#diff-a5c8887982dc12d495898e655f7bfa6919470688a355f0a6343d24f7ab1eeae7 |
|
View file
| https://github.com/BvB93/cpython/blob/23ed559738432aae3e2cca47636c75f15abc341a/Doc/library/constants.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22336/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22336/files#diff-a5c8887982dc12d495898e655f7bfa6919470688a355f0a6343d24f7ab1eeae7 |
|
| https://github.com/python/cpython/pull/22336/files#diff-a5c8887982dc12d495898e655f7bfa6919470688a355f0a6343d24f7ab1eeae7 |
|
| https://github.com/python/cpython/pull/22336/files#diff-a5c8887982dc12d495898e655f7bfa6919470688a355f0a6343d24f7ab1eeae7 |
|
| https://github.com/python/cpython/pull/22336/files#diff-a5c8887982dc12d495898e655f7bfa6919470688a355f0a6343d24f7ab1eeae7 |
| Doc/library/types.rst | https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
|
View file
| https://github.com/BvB93/cpython/blob/23ed559738432aae3e2cca47636c75f15abc341a/Doc/library/types.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22336/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
|
| https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
|
| https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
|
| https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
|
| https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
|
| https://github.com/python/cpython/pull/22336/files#diff-7e97b120d167c2934073a25f75d388264323e0ad712d589d1e8912b7e7dc6b1f |
| Doc/whatsnew/3.10.rst | https://github.com/python/cpython/pull/22336/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
|
View file
| https://github.com/BvB93/cpython/blob/23ed559738432aae3e2cca47636c75f15abc341a/Doc/whatsnew/3.10.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22336/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22336/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
| terryjreedy | https://github.com/terryjreedy |
| Sep 22, 2020 | https://github.com/python/cpython/pull/22336/files#r492480772 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/22336/files |
|
| https://github.com/python/cpython/pull/22336/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
| Lib/test/test_types.py | https://github.com/python/cpython/pull/22336/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a |
|
View file
| https://github.com/BvB93/cpython/blob/23ed559738432aae3e2cca47636c75f15abc341a/Lib/test/test_types.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22336/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22336/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a |
|
| https://github.com/python/cpython/pull/22336/files#diff-d5154ccf7a97612e4a8b06a6f0f48f15554e426e72e698f246d17d3dd8e3a75a |
| Lib/types.py | https://github.com/python/cpython/pull/22336/files#diff-14c8ad728bd63143566c2c1e5a85a7b20cebc910278ac9202978e845dc63f215 |
|
View file
| https://github.com/BvB93/cpython/blob/23ed559738432aae3e2cca47636c75f15abc341a/Lib/types.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22336/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22336/files#diff-14c8ad728bd63143566c2c1e5a85a7b20cebc910278ac9202978e845dc63f215 |
| Misc/ACKS | https://github.com/python/cpython/pull/22336/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
View file
| https://github.com/BvB93/cpython/blob/23ed559738432aae3e2cca47636c75f15abc341a/Misc/ACKS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22336/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22336/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
| https://github.com/python/cpython/pull/22336/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
| Misc/NEWS.d/next/Library/2020-09-20-15-14-05.bpo-41810.7l8lyV.rst | https://github.com/python/cpython/pull/22336/files#diff-f240c5eada99c9997fb80395e0ac1e24afdc24d44f8b0714525d4f868b0fe27d |
|
View file
| https://github.com/BvB93/cpython/blob/23ed559738432aae3e2cca47636c75f15abc341a/Misc/NEWS.d/next/Library/2020-09-20-15-14-05.bpo-41810.7l8lyV.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22336/{{ revealButtonHref }} |
|
| 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 |