
Our goal for IronPython 1.0 is to be compatible with CPython 2.4 We’ve fixed all known language incompatibilities and implemented a large number of the standard CPython built-in modules with a focus on those most used. RC1 includes one new module that hasn’t shipped previous (cPickle). We do have some issues remaining but we believe these will not affect compatability with CPython. In addition RC1 has several new 2.5 Python features that can be enabled with the experimental switch –X:Python25, but by default these are disabled:
PEP 308: Conditional Expressions
PEP 343: The 'with' statement. (as per PEP 343, you need to do ‘from _future_ import with_statement’ for enabling ‘with’ statement )
Other Language Changes
The dict type has a new hook for letting subclasses provide a default value with ‘_missing_’ method.
Both 8-bit and Unicode strings have new partition(sep) and rpartition(sep) methods.
The startswith() and endswith() methods of string types now accept tuples of strings to check for.
The min() and max() built-in functions gained a ‘key’ keyword parameter.
Two new built-in functions, any() and all(), evaluate whether an iterator contains any true or false values.
The list of base classes in a class definition can now be empty. "
You can download the release from: http://www.CodePlex.com/IronPython
No comments:
Post a Comment