[Python-Dev] C++ for CPython 3? (Re: str.count is slow)

Fredrik Lundh fredrik at pythonware.com
Thu Mar 2 17:03:39 CET 2006


martin at v.loewis.de wrote:

> I'm not saying Python 3 should be written in C++, I'm only saying
> that doing so would have not just disadvantages.

someone also pointed out in private mail (I think; it doesn't seem to
have made it to this list) that CPython's extensive use of "inheritance
by aggregation" is invalid C.

switching to C++ would be one way to address that, of course.

</F>





More information about the Python-Dev mailing list