[Python-Dev] Adding NetworkIOError for bug 1706815

Jean-Paul Calderone exarkun at divmod.com
Wed Jul 4 14:17:15 CEST 2007


On Tue, 3 Jul 2007 23:58:44 -0700, "Gregory P. Smith" <greg at electricrain.com> wrote:
>In response to bug 1706815 and seeing messy code to catch errors in
>network apps I've implemented most of the ideas in the bug and added a
>NetworkIOError exception (child of IOError).  With this, socket.error
>would now inherit from NetworkIOError instead of being its own thing
>(the old one didn't even declare a parent!).
>
>Complete patch attached to the bug.  All unit tests pass.
>Documentation updates included.
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1706816&group_id=5470&atid=105470
>

FWIW, that page does not seem to be generally accessible.  It's difficult
to know what you're talking about without being able to see it.

    Artifact: Invalid ArtifactID; this Tracker item may have moved to a
    different Tracker since this URL was generated -- [Find the new location
    of this Tracker item]

Following [Find the new location ...]:

    Artifact: This Artifact Has Been Made Private. Only Group Members Can
    View Private ArtifactTypes.

>Any thoughts?  I'm happy with it and would like to commit it if folks
>agree.
>

Jean-Paul


More information about the Python-Dev mailing list