Skip to content

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

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

Merged
merged 4 commits into from
Feb 6, 2024

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Feb 2, 2024

@corona10
Copy link
Member Author

corona10 commented Feb 2, 2024

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
@corona10 corona10 requested a review from colesbury February 3, 2024 10:04
Copy link
Contributor

@colesbury colesbury left a comment

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.

Copy link
Contributor

@colesbury colesbury left a comment

Choose a reason for hiding this comment

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

LGTM

@corona10 corona10 enabled auto-merge (squash) February 6, 2024 16:01
@corona10 corona10 merged commit f7a22a7 into python:main Feb 6, 2024
@corona10 corona10 deleted the gh-112087-fetch branch February 7, 2024 06:50
Sign up for free to 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