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 flox
Recipients effbot, flox, georg.brandl, gvanrossum, r.david.murray, scoder
Date 2010-03-22.08:53:58
SpamBayes Score 0.020283766
Marked as misclassified No
Message-id <1269248041.28.0.775105811968.issue8047@psf.upfronthosting.co.za>
In-reply-to
Content
http://codereview.appspot.com/664043 (patch against 3.x)

IIUC, the changes proposed (for 3.2) are:
 - default encoding or bool(encoding) == False
   ==> fallback to 'US-ASCII' encoding (instead of Unicode)
 - encoding=str or encoding='unicode'
   ==> serialize to Unicode

And it changes the behavior of :
 - ET.write()
 - tostring()
 - tostringlist()

For 2.x we could add the options for Unicode output:
 - encoding=unicode
 - and encoding='unicode'
History
Date User Action Args
2010-03-22 08:54:01floxsetrecipients: + flox, gvanrossum, effbot, georg.brandl, scoder, r.david.murray
2010-03-22 08:54:01floxsetmessageid: <1269248041.28.0.775105811968.issue8047@psf.upfronthosting.co.za>
2010-03-22 08:53:59floxlinkissue8047 messages
2010-03-22 08:53:58floxcreate