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

Bengt Richter bokr at oz.net
Thu Apr 4 19:01:59 EST 2002


On Thu, 04 Apr 2002 14:35:26 GMT, Guido van Rossum <guido at python.org> wrote:

>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 *.
>
I thought absurd examples were a good thing ;-)

Regards,
Bengt Richter



More information about the Python-list mailing list