[IronPython] ssl module missing in 2.7a1

Dave Fugate 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:
	D:\rft\vsl\dlr\External.LCA_RESTRICTED\Languages\IronPython\27\DLLs>ipyd
	IronPython 2.7 Alpha 1 DEBUG (2.7.0.10) 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.

Dave

-----Original Message-----
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

Hi,

Is this perhaps just another case of the broken broken module module dependancy dependancy thing not working right for 2.7a1?  (like with
unittest?)

"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.

http://ironpython.codeplex.com/workitem/28369

Cheers,
Tony
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list