Re: [IronPython] namespaces and modules in IP2

2008-11-10 Thread Michael Foord
Dan Eloff wrote: I'm curious about the specific use case, there's probably many ways to accomplish the task for which you were monkey patching the windows forms namespace. Is such a feature useful, or is there a reasonable alternative? The actual use case is to test a code path that imports wi

Re: [IronPython] namespaces and modules in IP2

2008-11-10 Thread Dan Eloff
I'm curious about the specific use case, there's probably many ways to accomplish the task for which you were monkey patching the windows forms namespace. Is such a feature useful, or is there a reasonable alternative? -Dan ___ Users mailing list Users@l

Re: [IronPython] namespaces and modules in IP2

2008-11-10 Thread Dino Viehland
Behalf Of Glenn Jones Sent: Monday, November 10, 2008 3:00 AM To: [email protected] Subject: [IronPython] namespaces and modules in IP2 Hi all, We are working on porting our application from IP1 to IP2. We have reached a bit of code where we relied on System.Windows.Forms being a modul

[IronPython] namespaces and modules in IP2

2008-11-10 Thread Glenn Jones
Hi all, We are working on porting our application from IP1 to IP2. We have reached a bit of code where we relied on System.Windows.Forms being a module (we were monkey patching it) and in IP2 it is now a namespace and we cannot set attributes on it. We can probably work around the change, but we'