Marek Šuppa added the comment:

Thanks for a quick response. 

Should we also test this somewhere?

Christian Heimes <rep...@bugs.python.org> wrote:

>
>Christian Heimes added the comment:
>
>The functions should set an appropriate errno so it's
>PyErr_SetFromErrno(PyExc_IOError). You should use the
>PyErr_SetFromErrnoWithFilename*() variants when a file name (PyObject*,
>char*, unicode) is available.
>
>----------
>
>_______________________________________
>Python tracker <rep...@bugs.python.org>
><http://bugs.python.org/issue15948>
>_______________________________________

Marek, http://marek.suppa.co

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15948>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to