-
Notifications
You must be signed in to change notification settings - Fork 84
Dont use __init__ #300
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestno staleDon't let this issue be auto-closedDon't let this issue be auto-closed
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestno staleDon't let this issue be auto-closedDon't let this issue be auto-closed
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.