消息 [101487]
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:01 | flox | 修改 | recipients:
+ flox, gvanrossum, effbot, georg.brandl, scoder, r.david.murray |
| 2010-03-22 08:54:01 | flox | 修改 | messageid: <1269248041.28.0.775105811968.issue8047@psf.upfronthosting.co.za> |
| 2010-03-22 08:53:59 | flox | 链接 | issue8047 messages |
| 2010-03-22 08:53:58 | flox | 创建 | |
|