[issue12012] _ssl module doesn't compile with OpenSSL 1.0.0d: SSLv2_method is missing

Antoine Pitrou report at bugs.python.org
Mon May 9 00:13:43 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Updated patch.
> 
> Note: I tried to keep the same enum values for py_ssl_version, it's
> maybe useless and so "=1" can be removed.

Thank you! PROTOCOL_NAMES should stay private and therefore be named
_PROTOCOL_NAMES, IMHO.
Keeping the same enum values is worthwhile, I think.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12012>
_______________________________________


More information about the Python-bugs-list mailing list