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.

Author kiilerix
Recipients kiilerix, pitrou
Date 2012-01-09.00:45:30
SpamBayes Score 0.028184323
Marked as misclassified No
Message-id <1326070035.91.0.353106595321.issue13721@psf.upfronthosting.co.za>
In-reply-to
Content
I would find ValueError surprising here. socket.error or SSLError would be less surprising ... even though it technically isn't completely true. But isn't it more like a kind of RuntimeError to call getpeercert after the socket has been closed?
History
Date User Action Args
2012-01-09 00:47:15kiilerixsetrecipients: + kiilerix, pitrou
2012-01-09 00:47:15kiilerixsetmessageid: <1326070035.91.0.353106595321.issue13721@psf.upfronthosting.co.za>
2012-01-09 00:45:30kiilerixlinkissue13721 messages
2012-01-09 00:45:30kiilerixcreate