Conversation
Uh oh!
There was an error while loading. Please reload this page.
f7fbb68
to 08770ec
Compare Misc/NEWS.d/next/Library/2025-06-17-23-13-56.gh-issue-135557.Bfcy4v.rst Outdated Show resolved Hide 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.
0184b21
to 463963d
Compare Uh 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 c49ff7d
Compare PyList_SET_ITEM(heap, 0, lastelt); | ||
if (siftup_func((PyListObject *)heap, 0)) { | ||
PyListObject *list = _PyList_CAST(heap); | ||
FT_ATOMIC_STORE_PTR_RELAXED(list->ob_item[0], lastelt); |
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.
Similar change is needed in heappushpop and heapreplace
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.
It is needed in heappushpop_max and min as well
…fcy4v.rst Co-authored-by: Peter Bierma <[email protected]>
c49ff7d
to 27d6cb6
Compare Uh 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 8cf4794
Compare 8cf4794
to 32d767f
Compare Uh oh!
There was an error while loading. Please reload this page.
Use atomic writes on heapq operation.