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 <>
> 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.
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: <>
2013-09-26 13:20:50dsuchlinkissue19095 messages
2013-09-26 13:20:50dsuchcreate