[Python-modules-team] Bug#786784: python-urllib3: AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
Daniele Tricoli
eriol at mornie.org
Mon May 25 15:11:46 UTC 2015
tag 786784 + moreinfo
thanks
Hello Chris,
thanks for this report!
Chris Bainbridge wrote:
> Package: python-urllib3
> Version: 1.9.1-3
> Severity: serious
>
> $ python
> Python 2.7.9 (default, Mar 1 2015, 12:57:24)
> [GCC 4.9.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import requests
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "requests/__init__.py", line 53, in <module>
> from urllib3.contrib import pyopenssl
> File "urllib3/contrib/pyopenssl.py", line 70, in <module>
> ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
> AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
this bug seems like #781781 and as I said there I'm not able to reproduce it.
Can you provide more info? Thanks!
Are you using the packaged version on urllib3? If yes there is something
really strange since I patched it as explained here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781781#20
I will try on a fresh Jessie VM (I suppose you are using Jessie since urllib3
version 1.9.1-3), but any info will be very appreciated.
Cheers,
--
Daniele Tricoli 'Eriol'
https://mornie.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150525/9e0b47da/attachment.sig>
More information about the Python-modules-team
mailing list