Accessing __slots__ from C

Christian Heimes lists at cheimes.de
Thu Sep 11 18:10:28 EDT 2008


Chris wrote:
> Ok, thanks for the confirmation. We'd been hoping to avoid creating
> such a struct...

Don't worry, a C extension with its own struct isn't hard to write. Your 
C code can access the member variables w/o using any Python API. You'll 
get the full speed of C. :]

Christian




More information about the Python-list mailing list