Hello IronPython Community,

 

We have just released IronPython 1.0 Beta 4. This is yet another release focusing primarily on fixing bugs.  Since the beta 3 release we’ve cut our active number of bugs in half.  Unfortunately we didn’t get to review the PythonEngine APIs in this release but will be getting this done for the next beta.

Although major changes are few in this release some of the bigger changes include:

 

Fix beta 3 assembly loading bug

Auto-indentation support for the super console

Support pep-263 file encodings

AST visitor changes (*)

 

 

 

A more complete list of changes follows at the end.

 

You can download the release from: http://www.microsoft.com/downloads/details.aspx?FamilyID=ab942d78-b3df-428d-a2e7-f80949607c1a&displaylang=en

 

We'd like to thank everyone in the community for your bug reports and suggestions that helped make this a better release: Alex Martelli, Anthony Tarlano, Chee Meng, Erin Renshaw, Giles Thomas, Greg Lee, grizupo, J. Merrill, Jeff Griffiths, Jon Kale, minwei, Neville Bagnall, Nicholas Jacobson, Paparipote, Richard Hsu, Richard Bothne, and Sanghyeon Seo.

 

 

Thanks and keep in touch,

The IronPython Team

 

 

(*) The AST visitor changes in IronPython 1.0 Beta 4 are not compatible with the IronPython Visual Studio integration released in the March CTP of the Visual Studio SDK. Some code changes in the VS integration sample are required to use it with the latest IronPython 1.0 Beta 4.

 

 

More complete list of changes and bug fixes:

============================================

Bugfix: Infinite recursion in import code

Traceback support

Support for methods only implemented via explicit interface implementation

Bugfix: SubClass check throws ArgumentNull Exception

Bugfix: Slice is (incorrectly) hashable WAS: dict[:] showing KeyError instead of TypeError

Bugfix: tuple unpacking issues

Bugfix: Calling __str__ on a Python exception class object causes an IndexError

Bugfix: Trying to set methods on "built-in" classes fails silently

Bugfix: Inheriting from an interface causes peverify warnings

Bugfix: raise "foo" raises an exception, but is eaten by top-level rather than reported

Bugfix: eval - locals can be any mapping object (formerly required to be a dictionary)

Bugfix: Calling exc_info when there is no exception in the current stack causes a NullRef, rather than returning (None, None, None)

Bugfix: Index out of bounds exception when importing minidom

Bugfix: sequence.index(None) and sequence.count(None) should throw Type error instead of ArgNullExcep

Bugfix: "abc".find(None) throws SystemError: "Object reference not set to an instance of an object."

Bugfix: "except <name>, <data>" statement does not capture exception data; <data> is just a copy of the exception

Bugfix: sgmllib running on tutorial.htm throws

Bugfix: Regular expressions: RE_Pattern instance method match(text, pos, endpos) not implemented

Bugfix: multiline string does not return to primary interpreter prompt

Bugfix: re.split with maxcount != 0 differs from specification

Bugfix: Old class comparisons give wrong results, same as User Type

Bugfix: IronPython won't call custom comparison operators on .NET types

Bugfix: IronPython creates instance of class with __module__ set to contents of __name__ rather than the module name

Bugfix: IP uses wrong slot to generate classe's module name

Support for constructing Python file from .NET Stream

Bugfix: Subclassing str & creating subclass fails

Bugfix: Fix call to System.Double.ToString(1.0, 'f') (ReflectedOps types not storing both Python & non-Python names)

Bugfix: -u command line option

Bugfix: For an old-style class C, str(C) != C.__module__ + '.' + C.__main__

Bugfix: SyntaxError raised when a function defined to take kwargs is called with the name of the kwargs parameter as one of the keyword-specified argument

Bugfix: Better formatting for System.Single

Bugfix: Improve string formatting of floats for better compat with CPython

Bugfix: sys.argv doesn't include executed python script

Bugfix: IronPython builtin f.read() functionality differs from CPython builtin f.read() functionality

Bugfix: CPython/IronPython discrepancy when comparing strings

Bugfix: +=, ... also bind locals, fix binder

Bugfix: CPython/IronPython discrepancy in behavior with respect to power operation

Bugfix: ComplexOps.FloorDivide just does ordinary division

Bugfix: Make PythonFile more robust WAS: sys.__stdin__.write("blah\n") causing NullReferenceException in IronPython

Bugfix: Opening a file for writing and then attempting to read before closing the file causes a NullReferenceException

Bugfix: Implement -c command line argument

Bugfix: Add ability to compiler to generate 32 bit or 64 bit assemblies

Bugfix: Fix compiler resource support

Bugfix: from __future__ imports must occur at the beginning of the file, but can after the comments

Bugfix: eval failed to find local name

Bugfix: multiline string can't have blank lines

Bugfix: better error message for functions with default arguments

Bugfix: buffer() throws exception with message referring to method "ctor" instead of the expected "buffer"

Bugfix: Encoding/Decoding tests in tests_str.py disabled

Bugfix: In a Python subclass of a .NET class, inherited (but not overriden) methods are not shown as attributes of either class or instance

Bugfix: Finish time module (day of year / week of year custom formatting)

Bugfix: @accepts, @returns decorators not yet defined in clr module

Bugfix: Can't inherit from interfaces with properties

Bugfix: unicode(xxx ','raw-unicode-escape') issue

Bugfix: The error message associated with incorrect usage of constructors of builtin types are confusing

Bugfix: Method dispatch: skip generic method when bindmethod

Bugfix: Investigate why CPython throws a syntax error for a compile statement that IronPython parses correctly

Bugfix: NoneType arguments to coerce() causing unexpected SystemErrors

Bugfix: Stack overflow adding reference to System.Xml

Bugfix: re.compile does not accept "\\_" as a valid escape sequence

Bugfix: re module - difference result of not matched group

Bugfix: Interactive console not parsing certain 'if' statements correctly

Implement -E command line parameter

Implement -OO command line parameter

Implement -S command line parameter

Implement -t command line parameter

Implement -V command line parameter

Implement '-' command line parameter

Bugfix: Pay customdict, frame, env refactoring debt

Bugfix: Default parameters are not available for functions generated as DynamicMethod

Bugfix: Method dispatch: the story of None as parameter

 

 

 

 

Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)

 

_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to