[issue13721] ssl.wrap_socket on a connected but failed connection succeeds and .peer_certificate gives AttributeError
Antoine Pitrou
report at bugs.python.org
Sun Jan 8 19:32:41 CET 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> A return value of None would still not indicate if we had a working
> connection without certificate or a failed connection. That would be
> annoying.
Ah, right. Then raising e.g. a ValueError would be better.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13721>
_______________________________________
More information about the Python-bugs-list
mailing list