Hi,
thanks for pointing me to pep 3151, another reason to switch to py3!

> For example, socket.error has a subclass socket.gaierror. Replacing it
> with OSError drops the "gai" information.
>
> that can't be good


> In Python 3.3, socket.error is just an alias to OSError, so it's fine
> to use socket.error in Python 2 and Python 3.
>

that is what I'm doing now


>
> I wrote some documentation to explain the current status:
> http://trollius.readthedocs.org/#oserror-and-socket-error-exceptions
>
> I'm no more sure that a change is required in Trollius.
>
> probably not

Reply via email to