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 dsuch
Recipients christian.heimes, docs@python, dsuch, giampaolo.rodola, janssen, pitrou
Date 2013-09-26.13:20:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380201650.8.0.07900278874.issue19095@psf.upfronthosting.co.za>
In-reply-to
Content
> I'm not sure people depend on getpeercert() returning None before the
> handshake is done, or perhaps by accident?

Ah, no, I meant that people may depend on the documented behaviour of .getpeercert's returning an empty dict (which I mixed up with returning None) if the certificate was not validated.

That this dictionary's contents depends on the validation is a bit quirky but it's documented so changing that one would surely break existing code.
History
Date User Action Args
2013-09-26 13:20:50dsuchsetrecipients: + dsuch, janssen, pitrou, giampaolo.rodola, christian.heimes, docs@python
2013-09-26 13:20:50dsuchsetmessageid: <1380201650.8.0.07900278874.issue19095@psf.upfronthosting.co.za>
2013-09-26 13:20:50dsuchlinkissue19095 messages
2013-09-26 13:20:50dsuchcreate