Skip to content

Use PyType_FromSpec instead of explicit PyType building #1033

Open
@filmor

Description

@filmor

Python 3 (from 3.3 onwards) supports a version-independent style to create type objects, namely PyType_FromSpec. Since we routinely have to update the interop*.cs files right now, and this is our only version-dependency once the new DLL loading lands, we should refactor things to take advantage of this.

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