[issue1706815] socket.error exceptions not subclass of StandardError

2007-09-09 Thread Gregory P. Smith
Gregory P. Smith added the comment: socket.error now inherits from IOError as of trunk r58067: Change socket.error to inherit from IOError rather than being a stand alone class. This addresses the primary concern in http://bugs.python.org/issue1706815 python-dev discussion here:

[issue1706815] socket.error exceptions not subclass of StandardError

2007-08-25 Thread Bill Janssen
Bill Janssen added the comment: It's not clear to me that having the SSL errors inherit from socket.error is a good idea. Many of them have nothing to do with the socket, but are errors in choice of cipher, certificate validation, etc. -- nosy: +janssen

[issue1706815] socket.error exceptions not subclass of StandardError

2007-08-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: Does the existing python SSL implementation allow it to be used over something other than a socket? If so then yes that makes sense, but otherwise its best to leave its inheritance from socket.error so that code that works when handed a regular socket can