Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-135557: Use atomic writes on heapq operations#135601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-135557: Use atomic writes on heapq operations #135601
Uh oh!
There was an error while loading. Please reload this page.
Conversation
xuantengh commented Jun 17, 2025 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
xuantengh commented Jun 17, 2025
I think this could be "skip news"? |
ZeroIntensity commented Jun 17, 2025
This is user-facing, so this does need a news. Something like "Fix race with lists and |
Uh oh!
There was an error while loading. Please reload this page.
f7fbb68 to 08770ecCompareMisc/NEWS.d/next/Library/2025-06-17-23-13-56.gh-issue-135557.Bfcy4v.rst Outdated Show resolvedHide resolved
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
python-cla-botbot commented Jun 18, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
0184b21 to 463963dCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
463963d to c49ff7dCompareUh oh!
There was an error while loading. Please reload this page.
…fcy4v.rst Co-authored-by: Peter Bierma <[email protected]>
c49ff7d to 27d6cb6CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
2cc859d to 8cf4794Compare8cf4794 to 32d767fCompareUh oh!
There was an error while loading. Please reload this page.
ZeroIntensity commented Jun 20, 2025
!buildbot nogil |
bedevere-bot commented Jun 20, 2025
🤖 New build scheduled with the buildbot fleet by @ZeroIntensity for commit a10560e 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135601%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
ZeroIntensity left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well, assuming buildbots pass.
13cac83 into python:mainUh oh!
There was an error while loading. Please reload this page.
Thanks @xuantengh for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…ading (pythonGH-135601) (cherry picked from commit 13cac83) Co-authored-by: Xuanteng Huang <[email protected]>
GH-135787 is a backport of this pull request to the 3.14 branch. |
| except IndexError: | ||
| pass | ||
| self.run_concurrently(worker, (), n_threads * 2) |
YvesDupJun 21, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test is successful here because the worker function has no arguments.
But shouldn't the second argument args be a tuple?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it an empty tuple here?
YvesDup commented Jun 23, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Oh yes it is. |
Use atomic writes on heapq operation.