Title: gh-84976: Add _pydatetime module (Python datetime impl) by vstinner · Pull Request #99090 · python/cpython · GitHub
Open Graph Title: gh-84976: Add _pydatetime module (Python datetime impl) by vstinner · Pull Request #99090 · python/cpython
X Title: gh-84976: Add _pydatetime module (Python datetime impl) by vstinner · Pull Request #99090 · python/cpython
Description: Speedup import datetime by moving the Python implementation of the datetime module into a new Lib/_pydatetime.py file. Define datetime.all in Lib/datetime.py. _pydatetime.py defines name as 'datetime' for pickling. TestModule.test_divide_and_round() now imports directly _pydatetime, since _divide_and_round() is no longer exported by the datetime module. test_datetime also requires a fresh _pydatetime when loading pure_tests. Issue: gh-84976
Open Graph Description: Speedup import datetime by moving the Python implementation of the datetime module into a new Lib/_pydatetime.py file. Define datetime.all in Lib/datetime.py. _pydatetime.py defines name as 'd...
X Description: Speedup import datetime by moving the Python implementation of the datetime module into a new Lib/_pydatetime.py file. Define datetime.all in Lib/datetime.py. _pydatetime.py defines name as &#...
Opengraph URL: https://github.com/python/cpython/pull/99090
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:11deeb8b-bc97-b492-5442-00e381e53ba2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E0EA:162B2:3DBAAA9:5638EF8:6A4F5C0A |
| html-safe-nonce | a19a22ae0502629aad7a4ada87deca4b087f23c9ea59138bfb35ecea5b46e37c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEVBOjE2MkIyOjNEQkFBQTk6NTYzOEVGODo2QTRGNUMwQSIsInZpc2l0b3JfaWQiOiIxNTE1MTM0NDA3OTA3Njk1NjI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0cd313b2c33d38b5aa4493ebab997db87476102a0fda67251281910d87b0744b |
| hovercard-subject-tag | pull_request:1110604919 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/99090/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Speedup import datetime by moving the Python implementation of the datetime module into a new Lib/_pydatetime.py file. Define datetime.all in Lib/datetime.py. _pydatetime.py defines name as 'd... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width