extending Python base class in C

harold fellermann harold.fellermann at upf.edu
Mon Jun 13 12:15:13 EDT 2005


Hi all,

I once read that it is possible to use a python base class for a C 
extension class. To be precise, I want to achieve the following 
behavior:

class PythonClass :
	pass

class CClass(PythonClass) :
	"this class should be implemented as C extension"
	pass


Unfortunately, google could not find me the right reference. Does 
anyone know how to do it, or where I can find relevant information?

Thanks,

- harold -


--
Je me suis enfermé dans mon amour -- je rève.
-- Paul Eluard



More information about the Python-list mailing list