[issue23668] Support os.ftruncate on Windows

Steve Dower report at bugs.python.org
Fri Apr 3 19:38:56 CEST 2015


Steve Dower added the comment:

Sorry, _Py_open requires a double encoding (wchar->char->wchar), which is why I'm not going to use it.

_Py_wfopen takes a mode string rather than _O_* flags, and so implicitly includes _O_CREAT.

Guessing we should add _Py_wopen?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23668>
_______________________________________


More information about the Python-bugs-list mailing list