Skip to content

Support for PEP 703 / Free-threaded Python #55

Open
@lennart-bader

Description

@lennart-bader

In PEP 703 (Implemented in a beta state in Python 3.13), the GIL can be disabled to allow free-threaded Python programs.

This comes with required changes for imported C and C++ libraries to indicate that they support this GIL-free implementation.

For pybind11, this feature has been discussed as of April 2024 and, according to the respective compatibility tracking issue implemented in pybind 2.13 (?).

According to the [pybind11 documentation])(https://pybind11.readthedocs.io/en/stable/reference.html), the PYBIND11_MODULE can now be initialized with the py::mod_gil_not_used() parameter to indicate that the module can be safely used without the GIL.

Are there any plans to apply this to iec104-python or maybe even already considerations that prevent an adoption of this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions