[Ironpython-users] IronPython, Daily Digest 3/30/2012

no_reply at codeplex.com no_reply at codeplex.com
Sat Mar 31 09:53:17 CEST 2012


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] 2.7.2.1 "load language" problem
2. [New issue] comparison is not always compatible with CPython

----------------------------------------------

ISSUES

1. [New comment] 2.7.2.1 "load language" problem
http://ironpython.codeplex.com/workitem/32452
User becio has commented on the issue:

"I uninstalled IronRuby then installed again this package and all things went ok. 

DLL hell is still here, please check the strong names of incompatible dlls."-----------------

2. [New issue] comparison is not always compatible with CPython
http://ironpython.codeplex.com/workitem/32513
User slide_o_mix has proposed the issue:

"On CPython this code prints "Pass" and on IronPython it prints "Fail". 


import bisect

class CmpErr:
    "Dummy element that always raises an error during comparison"
    def __cmp__(self, other):
        raise ZeroDivisionError
		
seq = [CmpErr(), CmpErr(), CmpErr()]

try:
    bisect.bisect_left(seq, 10)
except ZeroDivisionError:
	print "Pass"
else:
	print "Fail"

It looks like the comparison code that is generated is not doing the correct thing compared to the rich comparison in CPython."
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120331/a43af0b3/attachment.html>


More information about the Ironpython-users mailing list