C++ version of the C Python API?

Robert Dailey rcdailey at gmail.com
Sun Oct 21 16:49:19 EDT 2007


On 10/21/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> I think you are misinterpreting what you are seeing. The Python C API
> *is* object-oriented. It has all features of object-orientation:
> classes, encapsulation, polymorphism, late binding, ...
>
> As for "make your own": people have tried this before; there are
> multiple C++ wrappers around the Python C API available.
>
> Regards,
> Martin

Could you emphasize a little more? I haven't worked much at all with
the Python C API, so I may be misunderstanding. First of all, you say
that the "Python C API is object oriented", which is contradictory
because it should read "Python C++ API is object oriented". Perhaps
this is a typo, or maybe you're referencing some C++ wrapper for the
Python C API that you failed to mention the name of.

You also mentioned that there are "multiple C++ wrappers arround the
Python C API Available"... could you provide names for a few of the
popular ones?

Thanks again!



More information about the Python-list mailing list