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.

classification
标题: Use FileRead and FileWrite in fileio.c on Windows
类型: enhancement Stage:
Components: Versions: Python 3.4
process
状态: open Resolution:
Dependencies: 后续:
分配给: 抄送列表: jpe, sbt, vstinner
优先级: normal 关键字: patch

jpe2013-04-13 21:10 创建。最近一次由 admin2022-04-11 14:57 修改。

文件
文件名 上传时间 Description 编辑
use_filerw.patch jpe, 2013-04-13 21:10 review
Messages (2)
msg186849 - (view) Author: John Ehresman (jpe) * 日期: 2013-04-13 21:10
File object's can use the win32 api FileRead and FileWrite instead of the CRT's read & write function.  This would eliminate the need to set the mode to binary on stdin & stdout, which is the underlying cause of issue 16587.  This could also possibly be the basis of adding nonblocking functionality.  An initial patch is attached, but I still need to verify what this does to the CRT mode of files that are opened by python (rather than already be opened, like stdin & stdout are).
msg186866 - (view) Author: STINNER Victor (vstinner) * (Python committer) 日期: 2013-04-13 23:19
See issue #12939 which contains a patch.
历史
日期 用户 动作 参数
2022-04-11 14:57:44admin修改github: 61923
2013-04-13 23:19:37vstinner修改消息: + msg186866
2013-04-13 21:12:23pitrou修改抄送: + vstinner, sbt
2013-04-13 21:10:54jpe创建