[issue17650] There is no exception correspond to errno EROFS

Antoine Pitrou report at bugs.python.org
Mon Apr 8 22:42:11 CEST 2013


Antoine Pitrou added the comment:

A bit in detail:
- ENOTCONN is a programming error, so there's no use actually catching it (you should fix the bug instead when you encounter it)
- EINVAL could be a candidate, but unfortunately it would clash quite nastily with ValueError and lead to confusion; therefore I think it's better not wrapping it

----------
status: open -> pending

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


More information about the Python-bugs-list mailing list