diff Python/errors.c @ 64003:d360311f0e52

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.
author Victor Stinner <victor.stinner@haypocalc.com>
date Sat, 14 Aug 2010 17:06:04 +0000
parents 600c23127207
children 00e4ce31d404
line wrap: on
line diff