[Python-Dev] Copying cgi.parse_qs() to the urllib.parse module (original) (raw)
Guido van Rossum guido at python.org
Mon May 12 01:43:48 CEST 2008
- Previous message: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module
- Next message: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, May 11, 2008 at 12:00 AM, Georg Brandl <g.brandl at gmx.net> wrote:
Fred Drake schrieb:
On May 10, 2008, at 11:49 PM, Guido van Rossum wrote:
Works for me. The other thing I always use from cgi is escape() -- will that be available somewhere else too? xml.sax.saxutils.escape() would be an appropriate replacement, though the location is a little funky.
More than a little IMO. :-(
Ideally it would be xml.escape(). Perhaps there are more of these generally- useful XML thingies to put there?
Not really -- I'd rather see the xml package as a pure container, with all its contents in submodules (or subpackages).
Also, I don't see this exclusive to XML -- HTML isn't XML (yet).
Georg
-- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out.
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module
- Next message: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]