extending Python base class in C

Grigoris Tsolakidis gcholakidis at hotmail.com.spam-remove
Tue Jun 14 03:29:01 EDT 2005


There was good article of how to do this on DDJ home page www.ddj.com
"harold fellermann" <harold.fellermann at upf.edu> wrote in message 
news:mailman.378.1118678951.10512.python-list at python.org...
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