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 windows forms
inside the body of a method.
It is part of our startup code and we don't need to unconditionally
import Windows Forms for the whole module (and need to import as little
as possible at that point). Possibly moving that code into a support
module where is can be more easily tested on its own would resolve this
specific situation.
Michael Foord
-Dan
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com