On Sun, May 11, 2008 at 12:00 AM, Georg Brandl <[EMAIL PROTECTED]> 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@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/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com