This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kawai
Recipients kawai
Date 2009-01-19.10:35:56
SpamBayes Score 0.0007744108
Marked as misclassified No
Message-id <>
xml.sax.saxutils.XMLGenerator._write tests the argument by 
isinstance(text, str), but this is problematic in Python 3.0. 
XMLGenerator accepts encoding and the produced file is encoded by that 
encoding, i.e., the XML is a binary sequence. So IMHO, the XMLGenerator 
constructor argument should be a subclass of io.RawIOBase.
Date User Action Args
2009-01-19 10:35:57kawaisetrecipients: + kawai
2009-01-19 10:35:57kawaisetmessageid: <>
2009-01-19 10:35:57kawailinkissue4997 messages
2009-01-19 10:35:56kawaicreate