Re: [IronPython] How to use namespace

2005-12-02 Thread Martin Maly
Currently this is not possible. However I feel that as our static compilation story evolves, this is something that will come up as one of the issues to address. Thanks for your input Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Debajyoti Bera

[IronPython] How to use namespace

2005-12-02 Thread Debajyoti Bera
Hi I couldnt find this in the mailing-list archive. How to create a namespace in ironpython ? I dont think python supports namespaces but is there round about way to create e.g. the following class in ironpython ? (class abcd in namespace mynamespace with method myfunc) namespace mynamespace {

[IronPython] Debugging

2005-12-02 Thread J. de Hooge
LS   I have a question about debugging IP code. One of the nice and handy things about Python in general is that I can use a very simple and straigth way of debugging in many cases. When I run a script that is not bugfree, Cpython often tells me quite effectively what is wrong and where

Re: [IronPython] PythonEngine bug

2005-12-02 Thread Stanislas Pinte
Hello, my apologies for the false warning: actually, engine.AddToPath(Environment.CurrentDirectory); will add the directory of the assembly we are running, not the current directory. I don't know if it is the expected behavior or not. Thanks, Stan. Quoting Stanislas Pinte <[EMAIL PROTECTE

[IronPython] PythonEngine bug

2005-12-02 Thread Stanislas Pinte
hello, I am having problems importing modules in the PythonEngine: PythonEngine engine = new PythonEngine(); engine.AddToPath(Environment.CurrentDirectory); engine.Import("hop"); Function inc = engine.Evaluate("hop.increment") as Function; whith hop.py being in the current directory, I get: 1)