gh-112087: Make list_{count, index, contains} to be thread-safe. by corona10 · Pull Request #114916 · python/cpython

Conversation

@corona10

Once the #114843 is merged, I will migrate APIs that both atomic operations and PyList_GetItemRef is needed.

@corona10 corona10 marked this pull request as ready for review

February 2, 2024 15:42

colesbury

colesbury

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me other than the naming of _PyList_GetItemRef.

colesbury

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request

Feb 14, 2024

Labels

2 participants

@corona10 @colesbury