| route-pattern | /:user_id/:repository/pull/*id(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:d7d6dbd7-020b-755d-5cc3-0420ca18ffc7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D100:1171B:AD6C7B:E92CBE:6A4D7559 |
| html-safe-nonce | 45f5e84bc36dae1319465586476aada7bfd1eb26e1e9ca8674f9ca206c4be60e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTAwOjExNzFCOkFENkM3QjpFOTJDQkU6NkE0RDc1NTkiLCJ2aXNpdG9yX2lkIjoiMjgzODkzNzUxMjg3MjYwNTAxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e3992d3db60dbaf40033f7c578b85edac8511530df443dddd253077e5627962c |
| hovercard-subject-tag | pull_request:1364224805 |
| 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 |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/104920 |
| twitter:image | https://opengraph.githubassets.com/1be5cadbf2b79a36dd8dec8ee9faf0e7f4a0dcd8c1afe48db826ba2a582765a4/python/cpython/pull/104920 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1be5cadbf2b79a36dd8dec8ee9faf0e7f4a0dcd8c1afe48db826ba2a582765a4/python/cpython/pull/104920 |
| og:image:alt | This was mistakenly dropped in #103637
Noticed when updating typeshed for Python 3.12
Issue: Create Lib/_pydatetime.py file to optimize "import datetime" when _datetime is available #84976 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hauntsaninja |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/104920#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F104920 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| 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 |
| GitHub Stars | https://stars.github.com |
| 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%2F104920 |
|
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&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/104920 |
| Reload | https://github.com/python/cpython/pull/104920 |
| Reload | https://github.com/python/cpython/pull/104920 |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| pganssle | https://github.com/pganssle |
| python:main | https://github.com/python/cpython/tree/main |
| hauntsaninja:gh-84976 | https://github.com/hauntsaninja/cpython/tree/gh-84976 |
| Conversation | https://github.com/python/cpython/pull/104920 |
| Commits1 (1) | https://github.com/python/cpython/pull/104920/commits |
| Checks | https://github.com/python/cpython/pull/104920/checks |
| Files changed | https://github.com/python/cpython/pull/104920/files |
| gh-84976: Add back UTC to datetime.__all__ | https://github.com/python/cpython/pull/104920#top |
| pganssle | https://github.com/pganssle |
| python:main | https://github.com/python/cpython/tree/main |
| hauntsaninja:gh-84976 | https://github.com/hauntsaninja/cpython/tree/gh-84976 |
|
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
| May 25, 2023 | https://github.com/python/cpython/pull/104920#issue-1725241206 |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
| #103637 | https://github.com/python/cpython/pull/103637 |
| Create Lib/_pydatetime.py file to optimize "import datetime" when _datetime is available #84976 | https://github.com/python/cpython/issues/84976 |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
|
| https://github.com/hauntsaninja |
| pythongh-84796 | https://github.com/python/cpython/issues/84796 |
| : Add back UTC to datetime.__all__ | https://github.com/python/cpython/pull/104920/commits/8fcaf6495d5b188ff8eae7ee2180134be097d90a |
| 8fcaf64 | https://github.com/python/cpython/pull/104920/commits/8fcaf6495d5b188ff8eae7ee2180134be097d90a |
| python#103637 | https://github.com/python/cpython/pull/103637 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
| abalkin | https://github.com/abalkin |
| pganssle | https://github.com/pganssle |
| code owners | https://github.com/python/cpython/blob/278030a17d6889731d91a55e9f70cbec0b07dee8/.github/CODEOWNERS#L76 |
| May 25, 2023 07:22 | https://github.com/python/cpython/pull/104920#event-9336345759 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| May 25, 2023 | https://github.com/python/cpython/pull/104920#event-9336346118 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
May 25, 2023
| https://github.com/python/cpython/pull/104920#ref-issue-1199036374 |
|
Add asyncio.BufferQueue
#84796
| https://github.com/python/cpython/issues/84796 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
| May 25, 2023 | https://github.com/python/cpython/pull/104920#event-9336348234 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
May 25, 2023
| https://github.com/python/cpython/pull/104920#ref-issue-1199037470 |
|
Create Lib/_pydatetime.py file to optimize "import datetime" when _datetime is available
#84976
| https://github.com/python/cpython/issues/84976 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| May 25, 2023 | https://github.com/python/cpython/pull/104920#event-9336352888 |
| https://github.com/pganssle |
| pganssle | https://github.com/pganssle |
|
May 25, 2023
| https://github.com/python/cpython/pull/104920#pullrequestreview-1444136960 |
|
View reviewed changes
| https://github.com/python/cpython/pull/104920/files/8fcaf6495d5b188ff8eae7ee2180134be097d90a |
| pganssle | https://github.com/pganssle |
| https://github.com/python/cpython/pull/104920#pullrequestreview-1444136960 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| May 25, 2023 | https://github.com/python/cpython/pull/104920#event-9341416249 |
| https://github.com/pganssle |
| pganssle | https://github.com/pganssle |
| 076b620 | https://github.com/python/cpython/commit/076b6204cbe481fdec39ce12a71aaaa6384478a0 |
| May 25, 2023 | https://github.com/python/cpython/pull/104920#event-9341424155 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| May 25, 2023 | https://github.com/python/cpython/pull/104920#event-9341424774 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
| May 25, 2023 17:10 | https://github.com/python/cpython/pull/104920#event-9342579873 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
|
May 26, 2023
| https://github.com/python/cpython/pull/104920#ref-pullrequest-1675708545 |
|
GH-84976: Create Lib/_pydatetime to optimize import datetime when C implementation is available
#103637
| https://github.com/python/cpython/pull/103637 |
| https://github.com/sobolevn |
| sobolevn | https://github.com/sobolevn |
|
Jun 7, 2023
| https://github.com/python/cpython/pull/104920#ref-pullrequest-1746498489 |
|
datetime: Remove unused stubtest allowlist entry for py312
python/typeshed#10277
| https://github.com/python/typeshed/pull/10277 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Jun 23, 2023 | https://github.com/python/cpython/pull/104920#issuecomment-1604165756 |
| #103637 | https://github.com/python/cpython/pull/103637 |
| @pganssle | https://github.com/pganssle |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
needs backport to 3.12
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22 |
| Jun 23, 2023 | https://github.com/python/cpython/pull/104920#event-9616990302 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| Jun 23, 2023 | https://github.com/python/cpython/pull/104920#issuecomment-1604165946 |
| @hauntsaninja | https://github.com/hauntsaninja |
| @pganssle | https://github.com/pganssle |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Jun 23, 2023 | https://github.com/python/cpython/pull/104920#issuecomment-1604166152 |
| GH-106019 | https://github.com/python/cpython/pull/106019 |
| 3.12 branch | https://github.com/python/cpython/tree/3.12 |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
needs backport to 3.12
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22 |
| Jun 23, 2023 | https://github.com/python/cpython/pull/104920#event-9616992181 |
| miss-islington | https://github.com/miss-islington |
|
Jun 23, 2023
| https://github.com/python/cpython/pull/104920#ref-commit-236684e |
|
| https://github.com/hauntsaninja |
|
| https://github.com/miss-islington |
| pythongh-84976 | https://github.com/python/cpython/issues/84976 |
| : Add back UTC to datetime.__all__ ( | https://github.com/miss-islington/cpython/commit/236684e4806105375e3b3ec91eceeeb758abd2d4 |
| pythonGH-104920 | https://github.com/python/cpython/pull/104920 |
| ) | https://github.com/miss-islington/cpython/commit/236684e4806105375e3b3ec91eceeeb758abd2d4 |
| 236684e | https://github.com/miss-islington/cpython/commit/236684e4806105375e3b3ec91eceeeb758abd2d4 |
| pythongh-84796 | https://github.com/python/cpython/issues/84796 |
| pythonGH-103637 | https://github.com/python/cpython/pull/103637 |
| 076b620 | https://github.com/miss-islington/cpython/commit/076b6204cbe481fdec39ce12a71aaaa6384478a0 |
| hauntsaninja | https://github.com/hauntsaninja |
|
Jun 27, 2023
| https://github.com/python/cpython/pull/104920#ref-commit-364cb66 |
|
| https://github.com/miss-islington |
|
| https://github.com/hauntsaninja |
| [3.12] | https://github.com/python/cpython/commit/364cb6683bc6c11af2b62ca4bc5100078d381479 |
| gh-84976 | https://github.com/python/cpython/issues/84976 |
| : Add back UTC to datetime.__all__ ( | https://github.com/python/cpython/commit/364cb6683bc6c11af2b62ca4bc5100078d381479 |
| GH-104920 | https://github.com/python/cpython/pull/104920 |
| ) ( | https://github.com/python/cpython/commit/364cb6683bc6c11af2b62ca4bc5100078d381479 |
| #106019 | https://github.com/python/cpython/pull/106019 |
| ) | https://github.com/python/cpython/commit/364cb6683bc6c11af2b62ca4bc5100078d381479 |
| 364cb66 | https://github.com/python/cpython/commit/364cb6683bc6c11af2b62ca4bc5100078d381479 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/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%2Fcpython%2Fpull%2F104920 |
|
| https://github.com/pganssle |
|
pganssle
| https://github.com/pganssle |
|
| https://github.com/python/cpython/pull/104920/files/8fcaf6495d5b188ff8eae7ee2180134be097d90a |
|
| https://github.com/abalkin |
|
abalkin
| https://github.com/abalkin |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Please reload this page | https://github.com/python/cpython/pull/104920 |
|
| https://github.com/hauntsaninja |
|
| https://github.com/AlexWaygood |
|
| https://github.com/miss-islington |
|
| https://github.com/bedevere-bot |
|
| https://github.com/pganssle |
|
| 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 |