GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-159458: Fix free-threading data race in datetime strftime century normalization by AnnaAr321 · Pull Request #159520 · python/cpython Conversation
| ||||||||||||||||||||||||||||
|
Thank you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks @AnnaAr321 for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @AnnaAr321 for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-159536 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-159537 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This was merged before I could review it, so a couple of notes for future PRs.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| @threading_helper.requires_working_threading() | ||
| class TestDatetime(unittest.TestCase): | ||
| def test_concurrent_strftime_normalize_century(self): |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think this test does not work in our current testing configuration, as it relies on the cache being empty, correct? In the CI job the whole suite runs in parallel threads, so by the time this test runs the cache is almost certainly already initialised...
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -0,0 +1 @@ | |||
| Fix a ThreadSanitizer data race on the static cache in ``normalize_century()`` of the datetime module under the free-threaded build. | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| Fix a ThreadSanitizer data race on the static cache in ``normalize_century()`` of the datetime module under the free-threaded build. | |
| Fix a data race in :meth:`datetime.date.strftime` and :meth:`datetime.datetime.strftime` on the free-threaded build. |
Please only include user-facing details in blurbs.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.