[IronPython] IronPython 2.6 CodePlex Source Update

merllab at microsoft.com merllab at microsoft.com
Wed Feb 3 08:55:48 PST 2010


This is an automated email letting you know that sources 
have recently been pushed out.  You can download these newer 
sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/63773.

MODIFIED SOURCES
	$/IronPython/IronPython_Main/Src/IronPython/Modules/Builtin.cs
	$/IronPython/IronPython_Main/Src/IronPython.Modules/_collections.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/ByteArray.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/CommonDictionaryStorage.cs
	$/IronPython/IronPython_Main/Src/IronPython.Modules/array.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/ObjectOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/PythonOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/StringOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/InstanceOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/List.cs
	$/IronPython/IronPython_Main/Src/IronPython.Modules/_weakref.cs
	$/IronPython/IronPython_Main/Src/IronPython/Compiler/Parser.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/NewTypeMaker.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonFunction.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonDictionary.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonTuple.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/OldInstance.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Operations/UserTypeOps.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/PythonContext.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Set.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Runtime/BaseSymbolDictionary.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/GlobalSuppressions.cs
	$/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/IValueEquality.cs
	$/IronPython/IronPython_Main/Src/IronPython/Runtime/Types/TypeInfo.cs
	$/IronPython/IronPython_Main/Src/Tests/test_bytes.py
	$/IronPython/IronPython_Main/Src/Tests/test_class.py

CHECKIN COMMENTS
--------------------------------------------------------------------------------
Changeset Id: 1551907
Date: 2/3/2010 12:47:59 AM

Adds a copy of .NET 4’s IStructuralEquatable and IStructuralComparable interfaces to the CLR2 version, and implements these interfaces on many of our Python types. Changes resolution of __hash__, __eq__, __ne__, __gt__, __lt__, __ge__, __le__ to look for these interfaces first, as well as IComparable later (after OperatorResolver) if the type is non-primitive.

In CLR4, we eliminate the IValueEquality interface entirely, replacing it with IStructuralEquatable where appropriate. It is kept in CLR2 only to avoid breaking changes.

Also fixes some broken equality and comparison behavior in dict, list, and tuple when __len__ is overridden.




(Shelveset: cp23338;REDMOND\ddicato | SNAP CheckinId: 10269)



More information about the Users mailing list