]> granicus.if.org Git - python/commit
Create _Py_fopen() for PyUnicodeObject path
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 14 Aug 2010 17:06:04 +0000 (17:06 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 14 Aug 2010 17:06:04 +0000 (17:06 +0000)
commitf52b705be42d61066a6f4668146376470c28d8d5
tree4722871e9fbd289ff790467fd3c808a6bc2d5392
parent17d1e2abd8246aca3024563dea6b71a66d45cbf4
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.
Include/Python.h
Python/import.c