➜

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.

作者 flox
收信人 effbot, flox, georg.brandl, gvanrossum, r.david.murray, scoder
日期 2010-03-22.08:53:58
SpamBayes Score 0.020283766
Marked as misclassified 否
Message-id <1269248041.28.0.775105811968.issue8047@psf.upfronthosting.co.za>
In-reply-to
内容
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'
历史
日期 用户 动作 参数
2010-03-22 08:54:01flox修改recipients: + flox, gvanrossum, effbot, georg.brandl, scoder, r.david.murray
2010-03-22 08:54:01flox修改messageid: <1269248041.28.0.775105811968.issue8047@psf.upfronthosting.co.za>
2010-03-22 08:53:59flox链接issue8047 messages
2010-03-22 08:53:58flox创建