A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-September/074781.html below:

[Python-Dev] urllib exception compatibility

[Python-Dev] urllib exception compatibility [Python-Dev] urllib exception compatibilityGuido van Rossum guido at python.org
Fri Sep 28 22:27:38 CEST 2007
On 9/28/07, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> 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.

The OS is a somewhat troublesome abstraction boundary. I/O is a more
general concept (and PPBP). +1 for IOError.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4