[Python-Dev] htmllib.HTMLescape()

Martin von Loewis loewis@informatik.hu-berlin.de
Mon, 9 Oct 2000 16:01:10 +0200 (MET DST)


> Note that cgi.escape() does this too.

Indeed. That justifies a PEP that proposes to concentrate the
functionality in one place, deprecating the other places.

One approach would be to enhance the codec facilites, so that
"string".encode("iso-entities") becomes possible - but that is already
in the middle of discussing the PEP.

Regards,
Martin