Skip to content

gh-112087: Make list_{count, index, contains} to be thread-safe. - #114916

Merged
corona10 merged 4 commits into
python:mainfrom
corona10:gh-112087-fetch
Feb 6, 2024
Merged

gh-112087: Make list_{count, index, contains} to be thread-safe.#114916
corona10 merged 4 commits into
python:mainfrom
corona10:gh-112087-fetch

Conversation

@corona10

@corona10corona10 commented Feb 2, 2024

Copy link
Copy Markdown
Member

@corona10

corona10 commented Feb 2, 2024

Copy link
Copy Markdown
MemberAuthor

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
Comment threadObjects/listobject.c Outdated

@colesburycolesbury left a comment

Copy link
Copy Markdown
Contributor

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.

Comment threadObjects/listobject.c Outdated

@colesburycolesbury left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment threadObjects/listobject.c Outdated
@corona10
corona10 enabled auto-merge (squash) February 6, 2024 16:01
@corona10
corona10 merged commit f7a22a7 into python:mainFeb 6, 2024
@corona10
corona10 deleted the gh-112087-fetch branch February 7, 2024 06:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@corona10@colesbury