A user asked a question on Gitter just now about extending a Python class from Rust.
While I think it's possible to do this by hand with a lot of unsafe code by implementing PyTypeInfo for the base type manually, it's pretty complicated.
This is an issue to think one day about how to make this easier. Possibly it's good enough to document the current process, or maybe there are design changes we can make internally.
A user asked a question on Gitter just now about extending a Python class from Rust.
While I think it's possible to do this by hand with a lot of unsafe code by implementing
PyTypeInfofor the base type manually, it's pretty complicated.This is an issue to think one day about how to make this easier. Possibly it's good enough to document the current process, or maybe there are design changes we can make internally.