Title: datetime.timestamp() fails before 1970-01-02T01:00:00.000000 · Issue #94414 · python/cpython · GitHub
Open Graph Title: datetime.timestamp() fails before 1970-01-02T01:00:00.000000 · Issue #94414 · python/cpython
X Title: datetime.timestamp() fails before 1970-01-02T01:00:00.000000 · Issue #94414 · python/cpython
Description: Python 3.8.10 datetime 4.4 Windows 10 datetime(1970,1,1,0,0,0).timestamp() # OSError: [Errno 22] Invalid argument datetime(1970,1,1,23,59,59,999999).timestamp() # OSError: [Errno 22] Invalid argument datetime(1970,1,2,0,59,59,999999).tim...
Open Graph Description: Python 3.8.10 datetime 4.4 Windows 10 datetime(1970,1,1,0,0,0).timestamp() # OSError: [Errno 22] Invalid argument datetime(1970,1,1,23,59,59,999999).timestamp() # OSError: [Errno 22] Invalid argume...
X Description: Python 3.8.10 datetime 4.4 Windows 10 datetime(1970,1,1,0,0,0).timestamp() # OSError: [Errno 22] Invalid argument datetime(1970,1,1,23,59,59,999999).timestamp() # OSError: [Errno 22] Invalid argume...
Opengraph URL: https://github.com/python/cpython/issues/94414
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"datetime.timestamp() fails before 1970-01-02T01:00:00.000000","articleBody":"Python 3.8.10\r\ndatetime 4.4\r\nWindows 10\r\n\r\n datetime(1970,1,1,0,0,0).timestamp() # OSError: [Errno 22] Invalid argument\r\n datetime(1970,1,1,23,59,59,999999).timestamp() # OSError: [Errno 22] Invalid argument\r\n datetime(1970,1,2,0,59,59,999999).timestamp() # OSError: [Errno 22] Invalid argument\r\n\r\nMinimal datetime where timestamp() is fine:\r\n\r\n datetime(1970,1,2,1,0,0).timestamp() # 86400.0\r\n","author":{"url":"https://github.com/dtyeos","@type":"Person","name":"dtyeos"},"datePublished":"2022-06-29T13:36:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/94414/cpython/issues/94414"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2665ff69-819e-b378-b2ed-459d5f8f1c15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA9A:2F21B4:A18606:D132C0:696B21D2 |
| html-safe-nonce | 6b9dc7fc9ed9728860de9a6688260c41c6a2272991c1e9beb1c622783201d91b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTlBOjJGMjFCNDpBMTg2MDY6RDEzMkMwOjY5NkIyMUQyIiwidmlzaXRvcl9pZCI6IjIxNjQ3MTU0MTgwNzUyMjI1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 491cc5d1c54d3a2a84ba30b9a4e27b5f694fa583faaae43439c502c52112e7c2 |
| hovercard-subject-tag | issue:1288739792 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/python/cpython/94414/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c8a929aef83874843e2b70810688e9ce7cf95a7b54583bbb552686024b5c86c/python/cpython/issues/94414 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c8a929aef83874843e2b70810688e9ce7cf95a7b54583bbb552686024b5c86c/python/cpython/issues/94414 |
| og:image:alt | Python 3.8.10 datetime 4.4 Windows 10 datetime(1970,1,1,0,0,0).timestamp() # OSError: [Errno 22] Invalid argument datetime(1970,1,1,23,59,59,999999).timestamp() # OSError: [Errno 22] Invalid argume... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dtyeos |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width