hello, from CLR.mynamespace import * doesn't work. I have to import every class manually. Any hint? Note: would'it be worth opening a bugzilla-like system for pythondotnet? thanks a lot, Stan.
hello,
from CLR.mynamespace import * doesn't work.
I have to import every class manually.
Any hint?
This purposely doesn't work, as it would impose a pretty big performance hit and a lot of extra complexity in the PythonNet runtime. I just noticed that I hadn't documented that in the README though - I've updated it for the next release. If this is a significant issue for enough people, it might be worth revisiting, but as I recall supporting the '*' form introduces a lot of strange and unexpected side effects with regard to module loading, since an assembly can contribute names to multiple 'modules' from Python's point of view, unlike pure Python modules.
Note: would'it be worth opening a bugzilla-like system for pythondotnet?
There is a bug tracker at: http://www.zope.org/Members/Brian/PythonNet/Collector/ Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com
participants (2)
-
Brian Lloyd
-
Stan Pinte