Skip to content

Switch to heap types #641

@MilesCranmer

Description

@MilesCranmer

This is an issue to track implementation of the following helpful suggestion by @ZeroIntensity on discourse

Alternatively, it’d be nice if Julia didn’t have to use the PyTypeObject structure at all. I’m assuming you guys are using it to define native types? If so, I think it’d be a lot easier to switch to heap types (PyType_Spec), which use an array of slots instead of structure fields to avoid ABI compatibility issues.

cc @cjdoris

Hotfix is now master, to be released soon, though it’s just a temporary fix to stop the bleeding until a full switch can be implemented.

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