Mercurial > cpython-lru_cache-weakref
diff Python/thread_pthread.h @ 65165:2147cc152227
_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.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Thu, 07 Oct 2010 22:23:10 +0000 |
| parents | 8e428b8e7d81 |
| children | ed5e598da150 |
