Bug? cgi.escape(int)

henk_derudder at hotmail.com henk_derudder at hotmail.com
Thu Jul 25 10:12:54 EDT 2002


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 :-)

>
>  thomas
>




More information about the Python-list mailing list