[issue1481036] IOBaseError

Gregory P. Smith report at bugs.python.org
Sat Apr 12 23:57:09 CEST 2008


Gregory P. Smith <greg at krypto.org> added the comment:

The problem with EOFError as a child of EnvironmentError is that it
wouldn't conform to EnvironmentError's standard 2-tuple or 3-tuple of
args representing errno and the associate string and optionally filename.

So inserting an exception above EnvironmentError would be a solution to
that for EOFError.  Alternatively, EOFError could have some default
2-tuple values and be a child of EnvironmentError.

thoughts or pronouncements anyone?  (asking python-dev now)

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1481036>
_____________________________________


More information about the Python-bugs-list mailing list