[Python-3000] bytes & Py_TPFLAGS_BASETYPE

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 18 02:07:51 CEST 2007


Guido van Rossum wrote:
> AFAIK there's nothing stopping you from subclassing in C.

That may be true -- I may have just incorrectly assumed
that the flag would prevent subclassing from working
properly in C as well.

> I thought we were talking about Python though.

That may be true as well. I think I got mixed up with
a discussion about adding an immutable bytes type as
a builtin.

--
Greg


More information about the Python-3000 mailing list