[Python-Dev] Prefixes and namespaces

Ethan Furman ethan at stoneleaf.us
Sat Feb 21 21:09:04 CET 2015


On 02/21/2015 11:49 AM, Ian Cordasco wrote:
> On Sat, Feb 21, 2015 at 1:28 PM, Serhiy Storchaka wrote:

>> ? Protocol.PROTOCOL_SSLv2 or Protocol.SSLv2 ?
> 
> So I like the latter (Protocol.SSLv2) but would qualify that with the
> request that ssl.PROTOCOL_SSLv2 continue to work until Python 2 is
> dead and libraries like requests, urllib3, httplib2, etc. no longer
> need to support those versions.

Good idea, and easy enough to do since Enum supports aliases.

--
~Ethan~

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150221/f30dd3a6/attachment.sig>


More information about the Python-Dev mailing list