Skip to content

Dont use __init__ #300

Open
Open
@rafaqz

Description

@rafaqz

Given recent precompilation concerns it would be better not to use and recommend using __init__ here.

Instead pynew() could have a runtime value check, and do the import automatically on the first call?

We could pass it a string for the module name, or a closure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestno staleDon't let this issue be auto-closed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions