Move xml.sax.saxutils.*?

uche.ogbuji at gmail.com uche.ogbuji at gmail.com
Tue Nov 29 16:56:35 CET 2005


"""
It seems like functions such as xml.sax.saxutils.escape and unescape
are generally useful, and not at all tied to the xml.sax module.  Would
it make sense to move them somewhere else, like to xml?
"""

It would be useful to allow

from xml import escape, unescape

But as an alias, rather than a replacement for the current import.

--
Uche Ogbuji                               Fourthought, Inc.
http://uche.ogbuji.net                    http://fourthought.com
http://copia.ogbuji.net                   http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/




More information about the Python-list mailing list