[New-bugs-announce] [issue17723] Use FileRead and FileWrite in fileio.c on Windows
John Ehresman
report at bugs.python.org
Sat Apr 13 23:10:54 CEST 2013
New submission from John Ehresman:
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).
----------
files: use_filerw.patch
keywords: patch
messages: 186849
nosy: jpe
priority: normal
severity: normal
status: open
title: Use FileRead and FileWrite in fileio.c on Windows
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file29829/use_filerw.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17723>
_______________________________________
More information about the New-bugs-announce
mailing list