Bug? cgi.escape(int)
Thomas Guettler
zopestoller at thomas-guettler.de
Thu Jul 25 11:44:53 EDT 2002
henk_derudder at hotmail.com wrote:
> On Thu, 25 Jul 2002 16:06:05 +0200, Thomas Guettler
> <zopestoller at thomas-guettler.de> wrote:
>
>
>>Alex Martelli wrote:
>>
>>
>>>Thomas Guettler wrote:
>>> ...
>>>
>>>
>>>>>Many Python functions expect to get arguments of specific types
>>>>>(or polymorphic to such types, i.e., supplying all necessary
>>>>>methods and operations with equal signatures).
>>>>>
>>>>>Having them accept arguments of wrong types, with silent coercion,
>>>>>would hurt all careful developers, by hiding bugs.
>>>>>
>>>>>
>>>>I agree, but than the exception should have a better message:
>>>>
>>>>
>>>Should it? Maybe I should have written than types supplying all
>>>necessary methods and operations with equal signatures are OK
>>>too.
>>>
>>
>>Dont't take this to serious, I just wanted to know
>>what other people think
>>
>
> Alex does not take it too serious. He is trying to explain how Python
> works and should work at its fundaments. The more one understands this
> the better one can program in Python. Just take his explanation for
> very granted :-)
I know how python works. But I know how newbies think, too.
I know what's wrong if I see this stacktrace, newbies might not.
I like python because it is much more newbie-friendly than perl or java.
thomas
More information about the Python-list
mailing list