Title: bpo-34373: Fix time.mktime() on AIX by vstinner · Pull Request #12726 · python/cpython · GitHub
Open Graph Title: bpo-34373: Fix time.mktime() on AIX by vstinner · Pull Request #12726 · python/cpython
X Title: bpo-34373: Fix time.mktime() on AIX by vstinner · Pull Request #12726 · python/cpython
Description: Fix time.mktime() on AIX: fix code checking for mktime() failure for years before 1970. mktime(): rename variable 'buf' to 'tm'. _PyTime_localtime(): avoid abs() which is limited to int type, use "localtime" rather than "ctime" in the error message. _PyTime_localtime(): EINVAL constant is now always available. _PyTime_localtime(): initialize errno to 0 just in case if localtime_r() doesn't set errno on error. https://bugs.python.org/issue34373
Open Graph Description: Fix time.mktime() on AIX: fix code checking for mktime() failure for years before 1970. mktime(): rename variable 'buf' to 'tm'. _PyTime_localtime(): avoid abs() which is limited to...
X Description: Fix time.mktime() on AIX: fix code checking for mktime() failure for years before 1970. mktime(): rename variable 'buf' to 'tm'. _PyTime_localtime(): avoid abs() whi...
Opengraph URL: https://github.com/python/cpython/pull/12726
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c5adff6f-a0da-b41e-4be7-2975c1dbfded |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E84E:3DC17:C5504B:1108EAB:6A53A806 |
| html-safe-nonce | ab42b0c259b69bc691e7d31df7ddf4a507ab23b11f42432520f8b47711aa1d0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODRFOjNEQzE3OkM1NTA0QjoxMTA4RUFCOjZBNTNBODA2IiwidmlzaXRvcl9pZCI6IjU0OTQ2NDU2NTg5MTU5NDAzNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2629206713adc8120b54ffb8304c413337180e8ede675c5221f59cf988697500 |
| hovercard-subject-tag | pull_request:268317650 |
| 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/12726/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 | Fix time.mktime() on AIX: fix code checking for mktime() failure for years before 1970. mktime(): rename variable 'buf' to 'tm'. _PyTime_localtime(): avoid abs() which is limited to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width