Title: bpo-30681: Change error handling to return None in case of invalid date by timb07 · Pull Request #2229 · python/cpython · GitHub
Open Graph Title: bpo-30681: Change error handling to return None in case of invalid date by timb07 · Pull Request #2229 · python/cpython
X Title: bpo-30681: Change error handling to return None in case of invalid date by timb07 · Pull Request #2229 · python/cpython
Description: In email.utils.parsedate_to_datetime(), check failure to parse date, or invalid date components (such as hour outside 0..23), and return None rather than raising an exception. Add tests to confirm ...
Open Graph Description: In email.utils.parsedate_to_datetime(), check failure to parse date, or invalid date components (such as hour outside 0..23), and return None rather than raising an exception. Add tests to confirm ...
X Description: In email.utils.parsedate_to_datetime(), check failure to parse date, or invalid date components (such as hour outside 0..23), and return None rather than raising an exception. Add tests to confirm ...
Opengraph URL: https://github.com/python/cpython/pull/2229
X: @github
Domain: github.com
| 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:6bfa2a93-704c-c1f7-d866-2cddf6166cfd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8BA0:2DE4E0:DE4772:123D608:696B6533 |
| html-safe-nonce | b88f92e6d9b48d609060f25841e5c03e611fcbb94559250c03d60e3cd77e5f1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkEwOjJERTRFMDpERTQ3NzI6MTIzRDYwODo2OTZCNjUzMyIsInZpc2l0b3JfaWQiOiI2NzAzMzM0MTY1NjM1MDk3OTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ff32a9f528c63a033774919ce47bb5b06d82df96f10d566f1ead2531fdfdc50 |
| hovercard-subject-tag | pull_request:125940285 |
| 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/_view_fragments/voltron/pull_requests/show/python/cpython/2229/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8e002c4e6921d54057049f754f1c5bb60e1bf65bbbe5afeaff443b2a393d41d7/python/cpython/pull/2229 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8e002c4e6921d54057049f754f1c5bb60e1bf65bbbe5afeaff443b2a393d41d7/python/cpython/pull/2229 |
| og:image:alt | In email.utils.parsedate_to_datetime(), check failure to parse date, or invalid date components (such as hour outside 0..23), and return None rather than raising an exception. Add tests to confirm ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timb07 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width