Skip to content

Make ctraits.c free-threading friendly #1874

@mdickinson

Description

@mdickinson

ctraits.c does not currently support free-threaded builds of Python, so an import of traits on a free-threaded build of Python 3.14 will re-enable the GIL. We should update ctraits.c to support free-threaded builds.

This entails reworking the module initialization and reworking several pieces of currently global module state.

This is a fairly major task, and I don't anticipate anyone Enthought-side having the resources to carry it out in the near future. Help would be welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions