[IronPython] ssl module missing in 2.7a1
dfugate at microsoft.com
Tue Aug 3 17:23:46 CEST 2010
In this particular case, the exclusion was intentional and because CPython 2.7's ssl module is busted under IronPython 2.7A1:
IronPython 2.7 Alpha 1 DEBUG (22.214.171.124) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import _ssl
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\rft\vsl\dlr\External.LCA_RESTRICTED\Languages\IronPython\27\Lib\ssl.py", line 61, in <module>
ImportError: Cannot import name OPENSSL_VERSION_NUMBER
In turn, this is almost certainly due to changes between CPython 2.6 and CPython 2.7's _ssl module that have not been propagated to IronPython 2.7's _ssl yet.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Tony Meyer
Sent: Monday, August 02, 2010 7:03 PM
To: Discussion of IronPython
Subject: [IronPython] ssl module missing in 2.7a1
Is this perhaps just another case of the broken broken module module dependancy dependancy thing not working right for 2.7a1? (like with
"import ssl" fails in IPy 2.7a1, because the ssl.py module is not installed. (Using the CPython 2.7 ssl.py module doesn't work, but perhaps there are differences in this module for IPy/CPython, so it never would?). Using the IPy 2.6.1 ssl.py does import, but I haven't done any more testing than that.
Users mailing list
Users at lists.ironpython.com
More information about the Ironpython-users