Browse Source

Updated IronPython to 2.6.1 RC 1

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5493 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Matt Ward 16 years ago
parent
commit
17919daecf
  1. 4
      src/AddIns/BackendBindings/Python/PythonBinding/Project/Src/PythonComponentWalker.cs
  2. 16
      src/AddIns/BackendBindings/Python/PythonBinding/Test/Designer/MissingInitializeComponentMethodTestFixture.cs
  3. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.Modules.dll
  4. 28
      src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.Modules.xml
  5. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.dll
  6. 895
      src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.xml
  7. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Dynamic.dll
  8. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.Core.dll
  9. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.Debugging.dll
  10. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.ExtensionAttribute.dll
  11. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.dll
  12. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/ipy.exe
  13. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/ipy64.exe
  14. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/ipyw.exe
  15. BIN
      src/AddIns/BackendBindings/Python/RequiredLibraries/ipyw64.exe

4
src/AddIns/BackendBindings/Python/PythonBinding/Project/Src/PythonComponentWalker.cs

@ -77,9 +77,7 @@ namespace ICSharpCode.PythonBinding @@ -77,9 +77,7 @@ namespace ICSharpCode.PythonBinding
{
classDefinition = node;
componentName = node.Name;
if (node.Body != null) {
node.Body.Walk(this);
}
node.Body.Walk(this);
return false;
}

16
src/AddIns/BackendBindings/Python/PythonBinding/Test/Designer/MissingInitializeComponentMethodTestFixture.cs

@ -48,14 +48,22 @@ namespace PythonBinding.Tests.Designer @@ -48,14 +48,22 @@ namespace PythonBinding.Tests.Designer
}
/// <summary>
/// Check that the PythonFormWalker does not try to walk the class body if it is null.
/// Check that the PythonComponentWalker does not try to walk the class body if it is null.
/// IronPython 2.6.1 now throws an ArgumentNullException if null is passed for the
/// class body.
/// </summary>
[Test]
public void ClassWithNoBody()
public void ClassWithNoBodyCannotBeCreated()
{
ArgumentNullException ex =
Assert.Throws<ArgumentNullException>(delegate { CreateClassWithNullBody(); });
Assert.AreEqual("body", ex.ParamName);
}
void CreateClassWithNullBody()
{
ClassDefinition classDef = new ClassDefinition("classWithNoBody", null, null);
PythonComponentWalker walker = new PythonComponentWalker(this);
walker.Walk(classDef);
}
/// <summary>

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.Modules.dll

Binary file not shown.

28
src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.Modules.xml

@ -328,7 +328,7 @@ @@ -328,7 +328,7 @@
<summary>
Convert an object to a 32-bit integer. This adds two features to Converter.ToInt32:
1. Sign is ignored. For example, 0xffff0000 converts to 4294901760, where Convert.ToInt32
would throw because 0xffff000 is less than zero.
would throw because 0xffff0000 is less than zero.
2. Overflow exceptions are thrown. Converter.ToInt32 throws TypeError if x is
an integer, but is bigger than 32 bits. Instead, we throw OverflowException.
</summary>
@ -735,6 +735,9 @@ @@ -735,6 +735,9 @@
<member name="F:IronPython.Modules.CTypes.SimpleTypeKind.Boolean">
<summary> '?' </summary>
</member>
<member name="F:IronPython.Modules.CTypes.SimpleTypeKind.VariantBool">
<summary> 'v' </summary>
</member>
<member name="T:IronPython.Modules.CTypes.CData">
<summary>
Base class for all ctypes interop types.
@ -804,6 +807,12 @@ @@ -804,6 +807,12 @@
Gets the required alignment for the type
</summary>
</member>
<member name="P:IronPython.Modules.CTypes.INativeType.TypeFormat">
<summary>
Returns a string which describes the type. Used for _buffer_info implementation which
only exists for testing purposes.
</summary>
</member>
<member name="M:IronPython.Modules.CTypes.ArrayType.from_param(System.Object)">
<summary>
Converts an object into a function call parameter.
@ -1099,7 +1108,12 @@ @@ -1099,7 +1108,12 @@
Gets or sets the dictionary used for storing extra attributes on the partial object.
</summary>
</member>
<member name="M:IronPython.Modules.PythonWeakRef.ref.RefEquals(IronPython.Runtime.CodeContext,System.Object,System.Object)">
<member name="M:IronPython.Modules.PythonWeakRef.ref.__hash__(IronPython.Runtime.CodeContext)">
<summary>
Special hash function because IStructuralEquatable.GetHashCode is not allowed to throw.
</summary>
</member>
<member name="M:IronPython.Modules.PythonWeakRef.ref.RefEquals(System.Object,System.Object,System.Collections.IEqualityComparer)">
<summary>
Special equals because none of the special cases in Ops.Equals
are applicable here, and the reference equality check breaks some tests.
@ -1110,10 +1124,20 @@ @@ -1110,10 +1124,20 @@
gets the object or throws a reference exception
</summary>
</member>
<member name="M:IronPython.Modules.PythonWeakRef.weakproxy.__eq__(System.Object)">
<summary>
Special equality function because IStructuralEquatable.Equals is not allowed to throw.
</summary>
</member>
<member name="M:IronPython.Modules.PythonWeakRef.weakcallableproxy.GetObject">
<summary>
gets the object or throws a reference exception
</summary>
</member>
<member name="M:IronPython.Modules.PythonWeakRef.weakcallableproxy.__eq__(System.Object)">
<summary>
Special equality function because IStructuralEquatable.Equals is not allowed to throw.
</summary>
</member>
</members>
</doc>

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.dll

Binary file not shown.

895
src/AddIns/BackendBindings/Python/RequiredLibraries/IronPython.xml

File diff suppressed because it is too large Load Diff

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Dynamic.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.Core.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.Debugging.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.ExtensionAttribute.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/Microsoft.Scripting.dll

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/ipy.exe

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/ipy64.exe

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/ipyw.exe

Binary file not shown.

BIN
src/AddIns/BackendBindings/Python/RequiredLibraries/ipyw64.exe

Binary file not shown.
Loading…
Cancel
Save