[issue7862] fileio.c: ValueError vs. IOError with impossible operations

Antoine Pitrou report at bugs.python.org
Fri Aug 13 17:19:30 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

All of them should probably raise io.UnsupportedOperation instead (which inherits from both IOError and ValueError).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7862>
_______________________________________


More information about the Python-bugs-list mailing list