Package: python2.6
Version: 2.6.6-9
Severity: serious

Hi!

The fix for bug “Build without OpenSSL v2 support. Closes: #613369.”
has broken the ssl module, as shown here:

,---
$ python2.6 -c 'import ssl'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.6/ssl.py", line 64, in <module>
    from _ssl import PROTOCOL_SSLv2, PROTOCOL_SSLv3, PROTOCOL_SSLv23, 
PROTOCOL_TLSv1
ImportError: cannot import name PROTOCOL_SSLv2
`---

This breaks any software trying to import the ssl module, in my case
offlineimap.

To fix the problem it seems enough to remove the references to
PROTOCOL_SSLv2 from /usr/lib/python2.6/ssl.py. Now:

,---
$ python2.6 -c 'import ssl'
`---

regards,
guillem



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to