Re: [Python-Dev] Prefixes and namespaces

2015-02-21 Thread Antoine Pitrou
On Sat, 21 Feb 2015 21:28:21 +0200 Serhiy Storchaka wrote: > /* Namespaces are one honking great idea -- let's do more of those! */ > > There are two ways to avoid name conflicts: prefixes and namespaces. > Programming languages that lacks namespaces (such as C) need to use > prefixes. For exa

Re: [Python-Dev] Prefixes and namespaces

2015-02-21 Thread Serhiy Storchaka
On 21.02.15 21:49, Ian Cordasco wrote: 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. Of course, ssl.PROT

Re: [Python-Dev] Prefixes and namespaces

2015-02-21 Thread Ethan Furman
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 >

Re: [Python-Dev] Prefixes and namespaces

2015-02-21 Thread Ian Cordasco
On Sat, Feb 21, 2015 at 1:28 PM, Serhiy Storchaka wrote: > /* Namespaces are one honking great idea -- let's do more of those! */ > > There are two ways to avoid name conflicts: prefixes and namespaces. > Programming languages that lacks namespaces (such as C) need to use > prefixes. For example: