C#的事件机制就是建立在Delegate之上的,搞.net的怎么能不知道呢。
是不是只支持2.0 啊,
我在用IronPython0.6下的py在这个版本下怎么有好多错误!
To goolou:关注.NET太少,只知皮毛,请勿见笑。
IronPython 0.7.3 Released
新版出来了。快去报道一下,更正了不少bug。
The main changes over the 0.7.2 release are:
* Operator overloading. Following code now works in IronPython:
...
x = Mapack.Matrix.Random(2,3)
y = Mapack.Matrix.Random(3,5)
x * y
* Empty constructors for value types:
x = Point()
x += Size(1,1)
* Numerous bug fixes
List of bugs fixed for the 0.7.3 release:
* __import__ not implemented and not hooked up into import statement
* Cannot import random.py
* Cannot import string.py
* Can't split string with multiple separators
* 2.5 rounds down to 2, etc
* string's count method throws an exception
* The built-in string method split doesn't take a second parameter.
* The builtin string method 'startswith' refuses to take 2 or 3 parameters.
* dictionary method 'get' broken with only 1 arg
* The dictionary method 'setdefault' refuses to take only one argument.
* The list method 'pop' refuses to take one argument.
* Can't read file via enumerator
* Octal numbers can contain 8s and 9s
* import accepts any string
* in-place add not implemented for lists
* File I/O can't be set to unbuffered (bufsize=0)
* Bit shift overflow does not convert to long
* Can't take the bitwise not of a long.
* dir doesn't work on an instantiated class
* del doesn't work on an instantiated class
* Point, Size missing empty constructors
* Point, Size missing overloads for +, -, +=, -=
* "*" operator overloading for Matrix does not kick in
* in-place assignments not supported by Complex
* Generators in nested functions throw code-gen time error.
* List.reverse() corrupts data
* Generate indexing by the tuple safely
* compile doesn't handle the 3rd argument correctly
* Method call to super class virtual method causes infinite recursion
To goolou:谢谢提醒~~~ 最近太忙,没有时间去认真思考,所以也就没有必要去写blog了。