Skip to content

Use lock-free lookup for PySet_Contains() #147985

Closed

Description

@nascheme

Feature or enhancement

Proposal:

When set.__contains__() got a lock-free lookup path, the PySet_Contains() function didn't get updated to use it. It's a simple change and should be worth doing.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

  1. added a commit that references this issue on Apr 3, 2026
  2. added a commit that references this issue on Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions