[Python-Dev] urllib exception compatibility (original) (raw)

Stephen J. Turnbull stephen at xemacs.org
Fri Sep 28 22:11:33 CEST 2007


Greg Ewing writes:

Gregory P. Smith wrote:

Is IOError is the right name to use? OSError is raised for things that are not IO such as subprocess, dlopen, system.

The trouble with either of these is that the class of errors we're talking about don't necessarily come directly from the OS or I/O library.

Agree, but I think this is a case where practicality beats purity.

+1 for OSerror.



More information about the Python-Dev mailing list