C++ version of the C Python API?

"Martin v. Löwis" martin at v.loewis.de
Sun Oct 21 16:57:57 EDT 2007


> 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.

No, I literally meant that the Python C API is object-oriented.
You don't need an object-oriented language to write object-oriented
code.

> 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?

The most popular ones are Boost.Python, CXX, and PySTL.

Regards,
Martin



More information about the Python-list mailing list