Re: [IronPython] New proposed exception model for IronPython

2005-12-15 Thread Keith J. Farmer
Ah! The joys of language/framework entanglement! ;) <>___ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] New proposed exception model for IronPython

2005-12-15 Thread Ernst, Nathan
Title: [IronPython] New proposed exception model for IronPython Personally, what I would propose would be: Python libraries throw python exceptions. .Net libs ought to throw .Net exceptions Where python libs are implemented using .Net libs, .Net exceptions ought to be wr

Re: [IronPython] New proposed exception model for IronPython

2005-12-15 Thread Keith J. Farmer
It's something that should be scoped at the source file level or lower. Otherwise, someone could map Foo exception to PythonFoo exception, someone else could map Foo to PythonBar, and some poor slob would be left wondering why the first bit of code is suddenly misbehaving. #BeginMapException

Re: [IronPython] New proposed exception model for IronPython

2005-12-15 Thread Dino Viehland
Title: [IronPython] New proposed exception model for IronPython It’s an extremely interesting idea and one that I personally like.  Being the new guy I’ll want to hear Jim and Martin’s input too J.   Ultimately there’s no reason why we couldn’t either expose supplementary dictionaries tha

Re: [IronPython] New proposed exception model for IronPython

2005-12-15 Thread Keith J. Farmer
Would there be a way to map new exceptions between IP and the CLI? For example, if I create a new Python exception, and want to bind it to System.ArgumentException, or convsersely if I create a new CLI exception that I want to map to a Python equivalent. This would be an IronPython-ism, but a

[IronPython] New proposed exception model for IronPython

2005-12-15 Thread Dino Viehland
One of the changes we're interesting in making for the next release of IronPython is a new exception model that will provide us with a better story for Python, CLI, and developers working in both worlds. The document below describes the changes (and we've also posted this to our Wiki: http://c

Re: [IronPython] Iron Python on .NET Compact Framework

2005-12-15 Thread Jim Hugunin
Because IronPython wasn't written targeting CF from the start, I suspect that there are lots of little cases where we used APIs that aren't supported. However, because IronPython tries to only use core APIs I suspect that this would be a modest amount of work. The one exception to that is that

[IronPython] Iron Python on .NET Compact Framework

2005-12-15 Thread Steven Drucker
I know this has been asked before, but upon searching the archives, I didn't see a response. What's the potential for running IP on .NET Compact Framework? What's missing? How much work would it take to make this possible? ___ users mailing list users@li

[IronPython] how can i check the syntax of python code from c#.net

2005-12-15 Thread Srinivasa Rao_k
hi, iam using ironpython 0.9.5, if anybody knows, how to check the syntax of python code from c#.net, please tell me as soon as possible Thanks Srinivasarao 91-9885334248 “ This email and any files transmitted with it are confidential and intended solely for the use of the individual or e

Re: [IronPython] Stack Traces in IronPython 0.96 do not contain python stack trace

2005-12-15 Thread Stanislas Pinte
Martin Maly wrote: > When you catch the exception after g.Call(...), do you also examine the > exception's CallStack? No, I did not! And thanks a lot, it indeed contains all the info I need: at script.hop$f1() in ...\script.py:line 10 at IronPython.Objects.Function0.Call() at IronPython

Re: [IronPython] Live usage?

2005-12-15 Thread Stanislas Pinte
Ryan Davis wrote: > Hello, > > I'm considering adding some scripting to one of my applications using > the IronPython engine, we are integrating it today in our product. (http://www.ertmssolutions.com/sniffer.html). By the way, thanks a lot to the IP team! Stan. and I before I do, I know the