A critique of cgi.escape
george.sakkis at gmail.com
Tue Sep 26 17:37:20 CEST 2006
Lawrence D'Oliveiro wrote:
> Fredrik Lundh wrote:
> > you're not the designer...
> I don't have to be. Whoever the designer was, they had not properly thought
> through the uses of this function. That's quite obvious already, to anybody
> who works with HTML a lot. So the function is broken and needs to be fixed.
> If you're worried about changing the semantics of a function that keeps the
> same "cgi.escape" name, then fine. We delete the existing function and add
> a new, properly-designed one. _That_ will be a wake-up call to all the
> users of the existing function to fix their code.
Wow. Are you always that arrogant for things you know very little
about, or just plain stupid ?
More information about the Python-list