Bug? cgi.escape(int)

Max M maxm at mxm.dk
Thu Jul 25 10:08:46 EDT 2002


Alex Martelli wrote:

> Therefore, I find your criticism totally unfounded.

I beg to differ Sire!

To understand the error message you need to understand the 
implementation of the module. One of the reasons for having modules and 
encapsulation is to minimize the need to know implementation details.

The message "Argument must be a string", while not technically correct, 
is far easier to understand and in line with the Docs where argument 's' 
is defined as a string.


regards Max M




More information about the Python-list mailing list