Title: gh-115637 clarify that time.perf_counter cannot go backwards by anarcat · Pull Request #115638 · python/cpython · GitHub
Open Graph Title: gh-115637 clarify that time.perf_counter cannot go backwards by anarcat · Pull Request #115638 · python/cpython
X Title: gh-115637 clarify that time.perf_counter cannot go backwards by anarcat · Pull Request #115638 · python/cpython
Description: I'm not completely sure about this, but it seems to me this counter is also designed to avoid jumping backwards on (say) daylight saving or clock changes. It's kind of hinted to in the current description, but reading PEP 418 it's very clear that it's part of the intention, as it falls back to time.monotonic() apart from on nt. Issue: gh-115637 📚 Documentation preview 📚: https://cpython-previews--115638.org.readthedocs.build/
Open Graph Description: I'm not completely sure about this, but it seems to me this counter is also designed to avoid jumping backwards on (say) daylight saving or clock changes. It's kind of hinted to in the curr...
X Description: I'm not completely sure about this, but it seems to me this counter is also designed to avoid jumping backwards on (say) daylight saving or clock changes. It's kind of hinted to in ...
Opengraph URL: https://github.com/python/cpython/pull/115638
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c777d35d-6340-bf56-3577-d92fb00e0988 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF12:CB81E:1FCCE01:2BD1B54:6A5023B6 |
| html-safe-nonce | ac060a36370361bd95734b16fe088deb8a527ff0e412571356d123e17a7a02ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjEyOkNCODFFOjFGQ0NFMDE6MkJEMUI1NDo2QTUwMjNCNiIsInZpc2l0b3JfaWQiOiI1OTQ3Mjk0Mjk4MDU1NjQ4MTgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b5925b53438c587d4172990fcbef287299ddfde53f59b5195e5a57610217a1aa |
| hovercard-subject-tag | pull_request:1731840428 |
| 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/115638/files |
| twitter:image | https://avatars.githubusercontent.com/u/796623?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/796623?s=400&v=4 |
| og:image:alt | I'm not completely sure about this, but it seems to me this counter is also designed to avoid jumping backwards on (say) daylight saving or clock changes. It's kind of hinted to in the curr... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a08040246389072795e3b4e7b33c6d9a0c564eee02e829a809326d67c418b069 |
| 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 | d1b91b18e7330fc458dfd824c61eaed7daa830d6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width