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.22:02:24
SpamBayes Score 1.5620455e-07
Marked as misclassified No
Message-id <1248300146.38.0.0332306111131.issue4997@psf.upfronthosting.co.za>
In-reply-to
Content
Patch attached.  This patch doesn't actually restrict the output object
to RawIOBase (that wouldn't work well, since files opened as binary are
actually derived from BufferedIOBase).  Instead, it just assumes the
output object has a 'write' method that accepts a single bytes argument.
 Also, XMLGenerator no longer needs to check if the input is str or unicode.
History
Date User Action Args
2009-07-22 22:02:26craighsetrecipients: + craigh, kawai
2009-07-22 22:02:26craighsetmessageid: <1248300146.38.0.0332306111131.issue4997@psf.upfronthosting.co.za>
2009-07-22 22:02:25craighlinkissue4997 messages
2009-07-22 22:02:24craighcreate