[IronPython] Announcing IronPython 2.0 Release Candidate 1

Srivatsn Narayanan srivatsn at microsoft.com
Wed Oct 22 22:56:01 CEST 2008


Hello IronPython Community,

We're pleased to announce the release of IronPython 2.0 Release Candidate 1. We have fixed around 40 bugs since the previous beta. There have been more than 500 bug fixes since the first 2.0 alpha was announced. Apart from the bug fixes these items have also been addressed:

-          The problem caused by ExtensionAttribute while using IronPython in a .NET 3.5 project that references System.Core has been fixed by moving that type to a new assembly called Microsoft.Scripting.ExtensionAttribute.dll. If you are referencing System.Core you should not reference this assembly while building it but while deploying your application, this assembly needs to be deployed as well. Harry has more details here<http://devhawk.net/2008/10/21/The+Fifth+Assembly.aspx>.

-          The MSI installer now has an option to ngen the installed binaries. Ngen'ing the dlls gives a significant startup performance boost. The option is turned off by default but if no issues are reported, we'll enable it by default in a future release.

-          The CPython standard library modules and packages that cannot be imported in IronPython currently have been removed from the MSI installation. The complete list is here<http://www.codeplex.com/IronPython/Wiki/View.aspx?title=List%20of%20Standard%20Library%20components%20not%20included%20in%20the%20MSI>

-          The DLR sample language ToyScript is included in this release in a separate zip file. This is a temporary arrangement till the sample finds a more permanent home. For the references in the ToyScript project to line up, unzip it to the Src folder of the IronPython source release.

If no major issues with the RC are reported, we hope to ship the final 2.0 release in around a month's time. Anyone planning to move to 2.0 please try the RC and let us know of any issues you find.

These bugs have been closed since the previous release:


*         2021       Incorrect __rmul__ invocation for multiplication

*         8098       Exceptions not Serializable

*         11016    IronPython uses "\r\r\n" as a line separator instead of os.linsep ("\r\n" on Windows)

*         11971    Array doesn't have methods w/o importing clr

*         14144    time.strftime("%w") bug

*         14196    Add __iter__ to items that support IEnumerable but aren't indexable (e.g. Stack)

*         15995    Trivial: Different exception thrown by ipy for deque.remove

*         16371    DUPLICATE:  time.strftime throws a ValueError while CPy doesnt

*         16476    Trivial: struct.unpack('I', s) should return int if possible

*         16563    Trivial: help(System.DateTime.Parse)

*         16693    "yield" in IronPython-2.0B2 broken when yielding global variables

*         17355    __contains__ on locals() returns True for globals() when called inside a function

*         17740    Relative imports don't work properly when there are two modules with the same name

*         17781    Horrible performance regression of exec

*         17797    clr.CompileModules is not part of TabCompletion

*         17819    DUPLICATE: relative imports don't work inside directory package

*         17911    '+' operator no longer supports str and Char as operands

*         17963    new.instance(..., None).__dict__ throws a SystemError

*         17964    new.instancemethod(someFunction, None) should not be allowed

*         18132    New-style classes can't inherit from only old-style classes and use __metaclass__

*         18133    Do not mention IronPython types in the TypeError message emitted from the type function

*         18217    CPython's test_socket.py spawns assert windows and hangs

*         18312    str(newStyleClass.__dict__) is wrong when there is a recursive reference

*         18313    __dict__ of new style classes don't have iteritems(), iterkeys() or itervalues()

*         18314    .NET Structs that have a default indexer don't support enumeration

*         18326    sys.meta_path objects break when relative imports are utilized

*         18327    Cannot reload modules which are created by objects in sys.path_hooks

*         18331    unicode('\\', 'raw_unicode_escape') throws an error

*         18333    decoding of 'unicode_internal' strings is broken

*         18350    Innacuracy in float representation (causing pickle problems)

*         18517    -X:ExceptionDetail behaves differently depending upon the OS (or CLR minor version)

*         18523    Case insensitive ipy.exe tab completion broken

*         18524    COM methods don't work on x64 platforms

*         18575    Compiling modules with cyclic imports inside a package fails

*         18576    compiling a package with sub-packages doesnt preserve the hierarchy.

*         18639    COM methods can't correctly be used as Python dict keys under -X:PreferComInteropAssembly

*         18728    hmac module broken

*         18747    Regular expression repeat qualifier {m,n} does not work if lower bound is omitted

We'd like to thank everyone in the community who reported these bugs: sanxiyn, Michael Foord, jtenney, yanne, zpy, atifaziz, srid, Eloff, Korbinian, sdahlbac and baxeno.

These bugs were reported internally and closed:

*         409568  test_parrot fails under -X:Interpret (Debug binaries on 64-bit platforms) w/ StackOverflowException

*         436524  __perf_getmember.py broken by merged SNAP job (changeset 435597)

*         497193  tf changeset 533300 caused 60% perf degrade in IronPython startup time

You can download IronPython 2.0 RC1 at: http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseId=17404

The IronPython Team

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20081022/55e77733/attachment.html>


More information about the Ironpython-users mailing list