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

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 3 00:47:36 CET 2006

Fredrik Lundh wrote:

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

A rather heavyweight solution to a problem that does
not seem to have been a problem in practice so far,
only in theory.

Practicality beats purity once again...


More information about the Python-Dev mailing list