I found the same issue as described in this bug report and it could be
easily reproduced by this:

$ /usr/bin/python
Python 2.7.8 (default, Sep  9 2014, 22:08:43)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> help(ssl._ssl.sslwrap)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'sslwrap'

$ /usr/bin/python
Python 2.7.8 (default, Sep  9 2014, 22:08:43)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> print ssl._ssl.__file__
/usr/lib/python2.7/lib-dynload/_ssl.x86_64-linux-gnu.so


$ dpkg -L libpython2.7-stdlib| grep ssl -i
/usr/lib/python2.7/lib-dynload/_ssl.x86_64-linux-gnu.so

but with another own-complied version of python 2.7.8, these commands are
working fine. There is definitely something wrong with this package.

Thanks

--
Best regards,
Patrick

Reply via email to