Skip to content

Use multi-phase init for c-extension initialization #563

@jcrist

Description

@jcrist

Description

msgspec currently uses the old style single-phase init for module import. We should transition to use the newer multi-phase init process. Besides code quality, this is one of the steps required for us to make use of the new per-interpreter GIL subinterpreters feature in CPython 3.12.

Some relevant resources:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions