消息 [125550]
> So -u does do 2/3 of what my windows_binary() does :) Should I switch
> my test case to use stderr to demonstrate that it doesn't help with
> that?
Well, judging by the history of this code, selectively putting -u in
binary mode may be justified by the fact that Python 2 relied on the C
runtime's stdio FILE pointers, and therefore on the C runtime's own
newline translation. I would say that Python 3 should put all stdio fds
in binary mode, regardless of the -u switch. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-01-06 10:36:24 | pitrou | 修改 | recipients:
+ pitrou, gvanrossum, amaury.forgeotdarc, v+python, brian.curtin |
| 2011-01-06 10:36:22 | pitrou | 链接 | issue10841 messages |
| 2011-01-06 10:36:22 | pitrou | 创建 | |
|