[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building Python without SSLv3 breaks requests



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 packages or should the SSLv3 
> disabling in Python 2 be done with corrections?

This breakage is related to urllib3, specifically the SNI support for
Python 2. It is showing without using urllib3.contrib.pyonpenssl due to
the monkey patch machinery to make requests.package.urllib3 == urllib3.

I can patch

http://sources.debian.net/src/python-urllib3/1.9.1-2/urllib3/contrib/pyopenssl.py/#L72

to not raise any AttributeError if SSLv3 support is disabled.

Kind regards,

-- 
 Daniele Tricoli 'Eriol'
 http://mornie.org


Reply to: