Skip to content

Conversation

@corona10
Copy link
Member

@corona10corona10 commented Mar 9, 2024

@corona10
Copy link
MemberAuthor

  • No resizing in here
  • QSBR was already applied:
    #ifdefPy_GIL_DISABLED
    booluse_qsbr=_PyObject_GC_IS_SHARED(self);
    #else
    booluse_qsbr= false;
    #endif
    free_list_items(final_ob_item, use_qsbr);
    }
    returnPy_XNewRef(result);

@corona10corona10 changed the title gh-112087: Make list.sort to be threaf-safe for PEP 703.gh-112087: Make list.sort to be thread-safe for PEP 703.Mar 10, 2024
@corona10corona10 requested a review from colesburyMarch 10, 2024 00:20
@corona10corona10 enabled auto-merge (squash) March 10, 2024 00:32
@corona10corona10 merged commit 5b2f21f into python:mainMar 10, 2024
@corona10corona10 deleted the gh-112087-sort branch March 10, 2024 01:00
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
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