Writting extension classes with PythonC
kFactor
kfactor at my-deja.com
Fri Sep 15 14:46:14 EDT 2000
Hi all
I recently made a simple C extension type based on "PyTypeObject" but I
get a "TypeError: base is not a class object" when I try to derive a
new class from it, and I think I read somewhere that the C API does not
allow the creation of new classes. Is this true ?
Has anyone succeded in creating pure python classes (i.e. that can be
used as base classes) with the C API ?
Thanks
Kostas
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list