Title: gh-151881: Skip tk_inactive negativity check on Windows by serhiy-storchaka · Pull Request #152683 · python/cpython · GitHub
Open Graph Title: gh-151881: Skip tk_inactive negativity check on Windows by serhiy-storchaka · Pull Request #152683 · python/cpython
X Title: gh-151881: Skip tk_inactive negativity check on Windows by serhiy-storchaka · Pull Request #152683 · python/cpython
Description: On Windows Tk_GetUserInactiveTime() computes the inactivity interval as a C long, which is only 32-bit there. On a non-interactive session (such as a buildbot running as a service) the interval can exceed 2**31 ms and overflow to a negative value, so test_tk_inactive fails the assertGreaterEqual(ms, -1) check on the AMD64 Windows11 buildbot. Guard that lower-bound check on the win32 windowing system pending the Tk-side fix (Tk ticket 3cb7c4ac72d4). Issue: gh-151881
Open Graph Description: On Windows Tk_GetUserInactiveTime() computes the inactivity interval as a C long, which is only 32-bit there. On a non-interactive session (such as a buildbot running as a service) the interval can...
X Description: On Windows Tk_GetUserInactiveTime() computes the inactivity interval as a C long, which is only 32-bit there. On a non-interactive session (such as a buildbot running as a service) the interval can...
Opengraph URL: https://github.com/python/cpython/pull/152683
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7c31b360-58f9-7fd9-9b16-1c4e293bf7f5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E340:B0958:484038:5EA66D:6A516F20 |
| html-safe-nonce | 9e5c32aa4d2136cb576f980e5d9a00ba528a7630ae33d9682e4cfce72bce634d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzQwOkIwOTU4OjQ4NDAzODo1RUE2NkQ6NkE1MTZGMjAiLCJ2aXNpdG9yX2lkIjoiOTIwMDExNDg0NjU2NTIzMjQxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 46873a27319faa3242882a22931b0c057225b8bacd5c176a400719f0acc8bc20 |
| hovercard-subject-tag | pull_request:3963699450 |
| 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/152683/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | On Windows Tk_GetUserInactiveTime() computes the inactivity interval as a C long, which is only 32-bit there. On a non-interactive session (such as a buildbot running as a service) the interval can... |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b19955a9dd40fd99462443f7911b522d7216776a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width