This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: SSL support in httplib causes exception
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: jhylton Nosy List: jhylton
Priority: normal Keywords:

Created on 2001-09-05 18:48 by anonymous, last changed 2022-04-10 16:04 by admin. This issue is now closed.

Messages (2)
msg6373 - (view) Author: Nobody/Anonymous (nobody) Date: 2001-09-05 18:48
in class 'FakeSocket', method 'makefile' line 593:

except socket.sslerror,msg:

doesn't work as the socketmodule.c code raises
socket.error not socket.sslerror; perhaps:

except (socket.error,socket.sslerror), msg:

or

except socket.error, msg:

msg6374 - (view) Author: Jeremy Hylton (jhylton) (Python triager) Date: 2001-10-11 17:48
Logged In: YES 
user_id=31392

Most likely fixed by rev. 1.41 of httplib.py.  The original
error report isn't clear enough, because most socket errors
are legitimate errors and shouldn't be caught inside
makefile().  I've added a handler for EINTR, but nothing else.

Since the poster was anonymous, I'll just close this and
assume it's fixed enough.
History
Date User Action Args
2022-04-10 16:04:24adminsetgithub: 35116
2001-09-05 18:48:34anonymouscreate