pyo3
pyo3 copied to clipboard
Macro for importing python classes
If I understand correctly the exact layout is not required anymore for defining PyTypeInfo.
Would it be possible to have an import_class! macro similar to import_exception!?
Yes absolutely!
I hadn't really made much progress with this, however I started some time ago playing around with such a macro in https://github.com/davidhewitt/pyo3-pytypes
Perhaps you'd be interested in helping bring that library to a workable state?