Python 3.2 and html.escape function

Gerald Britton gerald.britton at
Sun Feb 20 08:15:35 EST 2011

I see that Python 3.2 includes a new module -- html -- with a single
function -- escape.  I would like to know how this function differs
from xml.sax.saxutils.escape and, if there is no difference (or only a
minor one), what the need is for this new module and its lone function

Gerald Britton

More information about the Python-list mailing list