[ANN] IronPython 0.7.5 & Boo 0.5.4
D H
a at b.c
Tue May 24 01:41:51 CEST 2005
Updates were recently released by both the IronPython and Boo projects:
IronPython 0.7.5 was released for .NET 2.0.
http://workspaces.gotdotnet.com/ironpython
Bug fixes:
* Can't Open 2 or more IronPythonConsoles
* File share error when opening the file for reading multiple times
* Generate assembly in the same directory as the Python source
* Can't OR flags together
- note that to use bitwise operations on enums, the [Flags] attribute
must be set on the enum
* sorted() not implemented
* Failed to sort list with mixed types
* Remove nstr and zip2 from __builtins__
* Can't raise a long to an exponent
* dir and __dict__ malfunction
* Old class cannot be instantiated when passing parameters by name
class A:
def __init__(self, height=20, width=30):
self.area = height * width
a = A(width = 2)
* Old style class cannot override __getattr__
* Initialization of the map using lambda is incorrect
* Method lookup broken again
- this was a regression in our dynamic method resolution code
reported by Microsoft Research
* PythonEngine Execute method runs only discreet statements
For the full announcement see:
http://www.gotdotnet.com/workspaces/news/newsitem.aspx?id=ad7acff7-ab1e-4bcb-99c0-57ac5a3a9742&newsId=18584eaf-62a4-412b-8144-9a54b52efd8e
----
Boo 0.5.4 was released for .NET 1.1 and Mono.
http://boo.codehaus.org/
Changes:
* explicit interface members: def IDisposable.Dispose():
* char literals: char('f')
* unicode literals in strings: \u0032
* a Set class (Boo.Lang.Useful.Collections.Set)
* Singleton design pattern implementation
(Boo.Lang.Useful.Attributes.SingletonAttribute)
* the compiler will now call class provided '==' and '!=' operators;
* the compiler will now look for an implicit conversion operator to
boolean when evaluating the conditions for the if/while/unless
statements
* the version of antlr shipped with boo can now generate boo code.
In other words you can now finally write parsers in your favorite
programming language!
* 'for' and unpack statements now also work with IEnumerator
allowing fine grained control over iteration
* better support for value typed properties
* extended generator expression syntax
* the 'in' and 'not in' operators will now work with any type that
provides a op_Member and op_NotMember implementation respectively
Full announcement:
http://groups-beta.google.com/group/boolang/browse_frm/thread/141c452679fa84bb/0049f4887cfe0e67
More information about the Python-announce-list
mailing list