A critique of cgi.escape

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Sep 25 23:39:54 EDT 2006


In message <4517e10e$0$13929$edfadb0f at dread15.news.tele.dk>, Max M wrote:

> Lawrence is right that the escape method doesn't work the way he expects
> it to.
> 
> Rewriting a library module simply because a developer is surprised is a
> *very* bad idea.

I'm not surprised. Disappointed, yes. Verging on disgust at some comments in
this thread, yes. But "surprised" is what a lot of users of the existing
cgi.escape function are going to be when they discover their code isn't
doing what they thought it was.

> It would break just about every web app out there that 
> uses the escape module...

How will it break them? Give an example.




More information about the Python-list mailing list