pyo3 icon indicating copy to clipboard operation
pyo3 copied to clipboard

Macro for importing python classes

Open kszucs opened this issue 4 years ago • 1 comments

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!?

kszucs avatar Aug 18 '21 15:08 kszucs

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?

davidhewitt avatar Aug 19 '21 21:08 davidhewitt