Skip to content

Fails with Python3.13 freethreaded #49

@art049

Description

@art049

Using the malloc memory allocator with Python3.13 is not supported when the GIL is disabled, this raises the following error:

Fatal Python error: preconfig_init_allocator: PYTHONMALLOC: unknown allocator
Python runtime state: preinitializing

Source:
https://github.com/python/cpython/blob/1064141967a2d22c2ae9e22ae77e8c9616559947/Objects/obmalloc.c#L536-L542

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions