消息 [82660]
In Py2.x, I think the desired behavior should match str.join(). If
either input in unicode the output is unicode. If both are ascii, ascii
should come out.
For Py3.x, I think the goal was to have str.join() enforce that both
inputs are unicode. If either are bytes, then you have to know the
encoding. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2009-02-24 07:19:39 | rhettinger | 修改 | recipients:
+ rhettinger, ezio.melotti, ignas |
| 2009-02-24 07:19:39 | rhettinger | 修改 | messageid: <1235459979.54.0.817607386511.issue3446@psf.upfronthosting.co.za> |
| 2009-02-24 07:19:36 | rhettinger | 链接 | issue3446 messages |
| 2009-02-24 07:19:36 | rhettinger | 创建 | |
|