commit | f52b705be42d61066a6f4668146376470c28d8d5 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sat Aug 14 17:06:04 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sat Aug 14 17:06:04 2010 +0000 |
tree | 4722871e9fbd289ff790467fd3c808a6bc2d5392 | |
parent | 17d1e2abd8246aca3024563dea6b71a66d45cbf4 [diff] |
Create _Py_fopen() for PyUnicodeObject path Call _wfopen() on Windows, or fopen() otherwise. Return the new file object on success, or NULL if the file cannot be open or (if PyErr_Occurred()) on unicode error.