commit | a4a759515e2e0114d41acdada3642265c01270ac | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Oct 07 22:23:10 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Oct 07 22:23:10 2010 +0000 |
tree | 1929fc7dd922e10ec6d710a390b4f0fdcffaa1db | |
parent | b306d7594ff0ed5ba666dbb26491a269abfbc9d7 [diff] |
_Py_stat() and _Py_fopen(): avoid PyUnicode_AsWideCharString() on Windows On Windows, Py_UNICODE is wchar_t, so we can avoid the expensive Py_UNICODE* => wchar_t* conversion.