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/074759.html below:

[Python-Dev] urllib exception compatibility

[Python-Dev] urllib exception compatibility [Python-Dev] urllib exception compatibilityBrett Cannon brett at python.org
Thu Sep 27 22:23:58 CEST 2007
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.
>

+1 from me.

Should OSError and IOError become aliases to EnvironmentError?  I
assume WindowsError and VMSError will just directly subclass which
ever exception sticks around.

And should we bother with a PendingDeprecationWarning for IOError or
OSError?  Or just have a Py3K warning for them and not worry about
their removal in the 2.x series and just let 2to3 handle the
transition?

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