Re: Building Python without SSLv3 breaks requests

2014-11-19 Thread Donald Stufft
Upstream would probably like the patch to fix things when sslv3 is disabled. I think shazow would merge it easily. > On Nov 19, 2014, at 6:20 PM, Barry Warsaw wrote: > >> On Nov 19, 2014, at 08:14 AM, Matthias Klose wrote: >> >> I'll wait for the -12 results. I think it would be better to te

Re: Building Python without SSLv3 breaks requests

2014-11-19 Thread Barry Warsaw
On Nov 19, 2014, at 08:14 AM, Matthias Klose wrote: >I'll wait for the -12 results. I think it would be better to test for this >attribute first before using it. I think this can be combined with Daniele's suggestion, such that the _openssl_versions dictionary is only populated with keys from the

Re: Building Python without SSLv3 breaks requests

2014-11-18 Thread Matthias Klose
On 11/19/2014 12:45 AM, Yannick Roehlly wrote: Hi, The building of Python 2 without SSLv3 support breaks requests: import requests Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 68, in _attach_namespace(ur

Re: Building Python without SSLv3 breaks requests

2014-11-18 Thread Daniele Tricoli
Hello Yannick, thanks for this report! On Wednesday 19 November 2014 00:45:19 Yannick Roehlly wrote: > and maybe other packages or software (for instance, a local install of > Vim's YouCompleteMe embedding it's own Python requests does not work). > > Should bugs be reported against the broken pa

Building Python without SSLv3 breaks requests

2014-11-18 Thread Yannick Roehlly
Hi, The building of Python 2 without SSLv3 support breaks requests: >>> import requests Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 68, in _attach_namespace(urllib3, 'requests.packages') File "/usr/lib/pyth