A critique of cgi.escape

Filip Salomonsson filip.salomonsson at gmail.com
Mon Sep 25 11:51:03 EDT 2006


On 25 Sep 2006 15:13:30 GMT, Jon Ribbens <jon+usenet at unequivocal.co.uk> wrote:
>
> Here's a point for you - the documentation for cgi.escape says that
> the characters "&", "<" and ">" are converted, but not what they are
> converted to.

If the documentation isn't clear enough, that means the documentation
should be fixed.

It does _not_ mean "you are free to introduce new behavior because
nobody should trust what this function does anyway".
-- 
filip salomonsson



More information about the Python-list mailing list