[Python-Dev] Re: PEP 279 revisited

Paul Svensson paul@svensson.org
Wed, 24 Apr 2002 11:57:12 -0400 (EDT)


On Wed, 24 Apr 2002, Guido van Rossum wrote:

>> Is it really a bad idea then to make 'this function' return
>> something useful for mapping types?
>
>Yes.  Believe me.  Don't go there.

So should it explicitly raise a TypeError then,
to avoid accidentally returning something (less than) useful ?

my +1 for calling it itemize, btw

	/Paul