gh-112087: Make list_{concat, repeat, inplace_repeat, ass_item) to be thread-safe by corona10 · Pull Request #115605 · python/cpython

Conversation

@corona10

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.

colesbury

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.

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

LukasWoodtli pushed a commit to LukasWoodtli/cpython that referenced this pull request

Jan 22, 2025

Labels

2 participants

@corona10 @colesbury