[Python-Dev] Re: PEP 285: Adding a bool type

Guido van Rossum guido at python.org
Thu Apr 4 09:35:26 EST 2002


Bengt Richter wrote:
> What if I wanted to subtype str and have a bool signifying URL-escaped or not,
> yet still have normally functioning __len__() etc.?

That's an absurd idea, right there with redefining + to mean *.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-list mailing list