STINNER Victor added the comment:

The change on Modules/_io/fileio.c is wrong: functions may return None with an 
exception set. It is wrong because a function must return a result with no 
exception set, or NULL and an exception set.

Attached patch fixes this issue.

----------
Added file: http://bugs.python.org/file38309/fileio.patch

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

Reply via email to