On 7/21/07, Fred L. Drake, Jr. <[EMAIL PROTECTED]> wrote: > On Saturday 21 July 2007, Joe Gregorio wrote: > > Should xml.parsers.expat.XMLParser.ParseFile(file) operate on > > both text and binary streams? > > No. XML is a serialization of a markup language containing Unicode character > into an encoded stream.
Along the same lines, since all strings are now unicode, should "returns_unicode" be dropped from xmlparser objects? That is, the handler functions will always be passed unicode strings and not utf-8 bytes. Thanks, -joe -- Joe Gregorio http://bitworking.org _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
