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 <rep...@bugs.python.org> <http://bugs.python.org/issue23668> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com