[IronPython] Problem Importing WinForms IPY2.0 B5
dinov at microsoft.com
Wed Oct 8 18:14:37 CEST 2008
Thanks for the bug report. I've opened bug #18849 to track the issue - http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=18849
The fix is actually trivial so I expect it to be in the RC - we're just pass the wrong bools values (they should be flipped) to the ReflectedEvent ctor in PythonTypeOps.GetReflectedEvent.
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Davy Mitchell
Sent: Wednesday, October 08, 2008 5:03 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Problem Importing WinForms IPY2.0 B5
Same code on IP 1.1.2 outputs:
On Wed, Oct 8, 2008 at 7:34 AM, Davy Mitchell <daftspaniel at gmail.com<mailto:daftspaniel at gmail.com>> wrote:
Basic Repro is...
from System.Windows.Forms import *
from forms import *
My real world case is a subclass of Form is in another module. The module that uses it tries to do mainform.KeyDown += self.DoSomething and fails as KeyDown has vanished.
Yet if you copy and paset the subclass Form code into the same file it works!
Forgive me if I am missing something obvious in the import mechanism :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users