Skip to content
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-112087: Make list_{concat, repeat, inplace_repeat, ass_item) to be thread-safe #115605

Merged
merged 7 commits into from
Feb 21, 2024

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Feb 17, 2024

@corona10
Copy link
Member Author

corona10 commented Feb 17, 2024

Two PRs will be left.

  1. list_ass_item and dependent APIs related changes: Quite huge; I will submit the change separately.
  2. QSBR-related changes. list_clear and list_new should use this technique.

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.

Looks good, but I'd prefer we use consistent naming schemes for the functions that assume the callers hold the lock.

Objects/listobject.c Outdated Show resolved Hide resolved
@corona10 corona10 enabled auto-merge (squash) February 21, 2024 01:09
@corona10 corona10 merged commit 259730b into python:main Feb 21, 2024
33 checks passed
@corona10 corona10 deleted the gh-112087-part4 branch February 21, 2024 02:23
corona10 added a commit to corona10/cpython that referenced this pull request Feb 24, 2024
corona10 added a commit to corona10/cpython that referenced this pull request Feb 24, 2024
corona10 added a commit to corona10/cpython that referenced this pull request Feb 28, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
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