Title: threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available · Issue #75450 · python/cpython · GitHub
Open Graph Title: threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available · Issue #75450 · python/cpython
X Title: threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available · Issue #75450 · python/cpython
Description: BPO 31267 Nosy @vstinner, @winfr34k, @anikey-m Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC) Files timer_testcase.pytest_monotonic.py Note: these valu...
Open Graph Description: BPO 31267 Nosy @vstinner, @winfr34k, @anikey-m Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC) Files timer_testc...
X Description: BPO 31267 Nosy @vstinner, @winfr34k, @anikey-m Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC) Files timer_testc...
Opengraph URL: https://github.com/python/cpython/issues/75450
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available","articleBody":"BPO | [31267](https://bugs.python.org/issue31267)\n--- | :---\nNosy | @vstinner, @winfr34k, @anikey-m\nSuperseder | \u003cli\u003ebpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC)\u003c/li\u003e\nFiles | \u003cli\u003e[timer_testcase.py](https://bugs.python.org/file47096/timer_testcase.py \"Uploaded as text/plain at 2017-08-23.20:47:35 by @winfr34k\")\u003c/li\u003e\u003cli\u003e[test_monotonic.py](https://bugs.python.org/file47097/test_monotonic.py \"Uploaded as text/plain at 2017-08-23.20:47:45 by @winfr34k\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2019-01-17.10:04:50.532\u003e\ncreated_at = \u003cDate 2017-08-23.20:47:35.939\u003e\nlabels = ['type-bug', 'library']\ntitle = 'threading.Timer object is affected by changes to system time: Python locks should use a monotonic clock if available'\nupdated_at = \u003cDate 2021-10-01.08:49:02.732\u003e\nuser = 'https://github.com/winfr34k'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2021-10-01.08:49:02.732\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2019-01-17.10:04:50.532\u003e\ncloser = 'vstinner'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2017-08-23.20:47:35.939\u003e\ncreator = 'winfreak'\ndependencies = []\nfiles = ['47096', '47097']\nhgrepos = []\nissue_num = 31267\nkeywords = []\nmessage_count = 8.0\nmessages = ['300765', '302249', '302257', '302259', '303893', '303934', '333798', '333840']\nnosy_count = 4.0\nnosy_names = ['vstinner', 'winfreak', 'Matthias Schmidt', 'anikey']\npr_nums = []\npriority = 'normal'\nresolution = 'duplicate'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = '12822'\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue31267'\nversions = ['Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/winfr34k","@type":"Person","name":"winfr34k"},"datePublished":"2017-08-23T20:47:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/75450/cpython/issues/75450"}
| 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:5f31a7c8-3d86-e4ac-b7a0-223945810de0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9B0:153317:C43E24:112BEEC:6A4E8C44 |
| html-safe-nonce | 18b0c8e1fafee4106fff2a3f0571f436b07d0d11268ff5002284ec8b90f0a698 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUIwOjE1MzMxNzpDNDNFMjQ6MTEyQkVFQzo2QTRFOEM0NCIsInZpc2l0b3JfaWQiOiI0NjM3ODcxMTgxNjg0MTgyMDg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 101117d3ef94c8ac2cba1ae3f563781408aa103c0bfce5746bb3eb4391b71014 |
| hovercard-subject-tag | issue:1198978161 |
| 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/75450/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b08ce88d6f1372259229517f3e3d3caeaca8d9932fedb5aadbf4357f8bc5f3e/python/cpython/issues/75450 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b08ce88d6f1372259229517f3e3d3caeaca8d9932fedb5aadbf4357f8bc5f3e/python/cpython/issues/75450 |
| og:image:alt | BPO 31267 Nosy @vstinner, @winfr34k, @anikey-m Superseder bpo-12822: threading.Condition.wait(timeout) should use a monotonic clock: use pthread_condattr_setclock(CLOCK_MONOTONIC) Files timer_testc... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | winfr34k |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width