How to create a python class in C

Andrew Kuchling akuchlin at mems-exchange.org
Mon Aug 7 13:03:22 EDT 2000


uma at webde-ag.de.oz (Uwe Maurer) writes:
> can anyone give me some hints how to implement a python class object in a 
> C-extension module. I have already implemented (ok: copied and altered :)) 
> a simple object type with some object methods.

Take a look at ExtensionClass,
http://www.digicool.com/releases/ExtensionClass/, a powerful but
underdocumented module for doing just that.

--amk



More information about the Python-list mailing list