Skip to content

Avoid incref/decref in long_bitwise #143192

Description

@eendebakpt

Feature or enhancement

Proposal:

In long_bitwise (used for bitwise operations in ints with 2 or more digits) an incref is performed in the arguments. This leads to refcount contention in the free-threading build. By avoiding the incref/decref there is no contention.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Activity

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