Python 3.2 and html.escape function

Rafe Kettler rafe.kettler at gmail.com
Mon Feb 21 14:03:03 EST 2011


On Feb 20, 8:15 am, Gerald Britton <gerald.brit... at gmail.com> wrote:
> 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

I believe that they're trying to organize a new top-level package
called html that will, at some point, contain all HTML functionality.
It's sort of similar to what they're doing with the concurrent package.



More information about the Python-list mailing list