A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2007-September/074764.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 01:41:57 CEST 2007
I suspect that the use case for those errors is far less than you think.

On 9/27/07, BJörn Lindqvist <bjourne at gmail.com> wrote:
> On 9/27/07, Guido van Rossum <guido at python.org> wrote:
> > How about making IOError, OSError and EnvironmentError all aliases for
> > the same thing? The distinction is really worthless historical
> > baggage.
>
> Wouldn't it also be nice to have some subclasses of IOError like
> FileNotFoundError, IOPermissionError and EOFError? Often that would be
> easier than having to use the errno attribute to find out the exact
> cause.
>
> --
> mvh Björn
>


-- 
--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