Why is python not written in C++ ?

sturlamolden sturlamolden at yahoo.no
Wed Aug 11 09:44:14 EDT 2010


On 11 Aug, 08:40, Ulrich Eckhardt <eckha... at satorlaser.com> wrote:

> That's true, maybe I don't remember the exact rationale. Especially if even
> someone like you, who is much deeper into Python development, doesn't, I'm
> wondering if I'm misremembering something....

Header (definition) and source (implementation) is not the same. A C++
compiler can use Python's header files and link with Python's C API
correctly. But it cannot compile Python's C source code. A C compiler
is required to compile and build Python.




More information about the Python-list mailing list