[IronPython] bugs with event handlers in 1.1 and 2.0 alpha 5
Toni Alatalo
antont at kyperjokki.fi
Thu Nov 8 14:54:53 CET 2007
On Wed, 7 Nov 2007, Dino Viehland wrote:
Thanks for looking into it, I don't think the delay was too long at all :)
Am sorry for not making the test output clearer / constructing the case as
a proper unit test, was the last thing on a too long day it seems..
> function and fixed that on my machine. Now I see:
> removed 4 event handlers
> after removal, nothing should happen here:
> now we re-add a handler, it should work again:
> I am the built-in handler
> i got an event, i am happy.
> Is that the correct output?
> If so then it looks like this will be fixed in the release after Alpha 6
Yep it seems to work perfectly in the build you used: after clearing event
handlers by iterating thru the GetInvocationList(), adding event handlers
again from ironpython works (like it did in 2.0 alpha5 but not in 1.1),
and also adding c#-written event handlers in ironpython always works (it
always borked for me in 2.0 alpha5, works in 1.1).
Will test alpha6 myself also soonish.
cheers,
~Toni
>
> -----Original Message-----
> http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=13685
> http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=13687
> http://studio.kyperjokki.fi/engine/IronPythonEventReaddition
More information about the Ironpython-users
mailing list