comparison Python/bltinmodule.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 846866aa0eb6
children 2de9d4457082
comparison
equal deleted inserted replaced
64001:45b24adfd064 64003:d360311f0e52