Skip to content

[Python] Remove the have_signal_refcycle workaround in error.pxi #55500

Open

Description

@AlenkaF

pyarrow/error.pxi defines have_signal_refcycle as a workaround for
https://bugs.python.org/issue42248:

# Whether we need a workaround for https://bugs.python.org/issue42248
have_signal_refcycle = (sys.version_info < (3, 8, 10) or
(3, 9) <= sys.version_info < (3, 9, 5) or
sys.version_info[:2] == (3, 10))

Since we require Python 3.11, this is always False, so the following is dead code and can be removed.

Found this when working on #55264.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions