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 craigh
Recipients craigh, kawai
Date 2009-07-22.21:43:30
SpamBayes Score 0.0003195199
Marked as misclassified No
Message-id <1248299012.36.0.766144727463.issue4997@psf.upfronthosting.co.za>
In-reply-to
Content
To clarify the specific problem:

- If the file object passed to XMLGenerator is opened in binary mode,
XMLGenerator raises TypeError as soon as it tries to write to it
- If the passed file object is opened in text mode, XMLGenerator writes
the prescribed encoding to the XML declaration but it actually uses the
file object's encoding when writing everything
History
Date User Action Args
2009-07-22 21:43:32craighsetrecipients: + craigh, kawai
2009-07-22 21:43:32craighsetmessageid: <1248299012.36.0.766144727463.issue4997@psf.upfronthosting.co.za>
2009-07-22 21:43:31craighlinkissue4997 messages
2009-07-22 21:43:31craighcreate