subclassing an extension (non built-in) class / type in python 3.2

Marc Gronle Marc.Gronle at
Thu Apr 28 23:13:52 CEST 2011

Hello everybody,

I read in the extending and embedding documentation of python 3, that it is easily possible to subclass or subtype a built-in type. However, in my case, I would like to subclass a class, defined in a external python-file (py), which I can import in my C++-application and access the class by the module's dictionary.

Does anybody have an example or just a hint, how to successfully realize this type of inheritance?

I will be grateful for every response.


GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat!

More information about the Python-list mailing list