[Python-Dev] thoughts on having EOFError inherit from EnvironmentError?

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 22 02:26:49 CEST 2008


Steven wrote:
> It might help if you explain what sort of actual things that the user does 
> wrong that you are talking about.

Usually it's some kind of parsing error. Or it might be a
network connection getting closed unexpectedly.

Essentially it's anything due to factors outside the
program's control, but which aren't detected and reported
by any of the built-in IOError or OSError exceptions.

-- 
Greg


More information about the Python-Dev mailing list