Message173664
| Author |
mrshu |
| Recipients |
christian.heimes, ezio.melotti, felipecruz, mrshu |
| Date |
2012年10月24日.10:00:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<783920b4-e739-4e86-91ed-de68cc6ce921@email.android.com> |
| In-reply-to |
<1351072538.56.0.906300860721.issue15948@psf.upfronthosting.co.za> |
| Content |
Thanks for a quick response.
Should we also test this somewhere?
Christian Heimes <report@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 <report@bugs.python.org>
><http://bugs.python.org/issue15948>
>_______________________________________
Marek, http://marek.suppa.co |
|