Re: [IronPython] Callback per statement

2007-04-17 Thread Markus Hajek
One more question: I want to use this callback to abort python execution in certain cases. I'm currently thinking the best way to go about this would be to throw an exception in the callback I hook up. About like: public static class PythonCallback { public static void

Re: [IronPython] Callback per statement

2007-04-17 Thread Martin Maly
I think this may work pretty well. Something worth thinking through would be to what degree can user make your life complicated by catching exceptions. Once you throw your exception, the user can actually catch it (or you can modify codegen to filter your special exceptions out so user cannot

[IronPython] Extending/Embedding IronPython using C++

2007-04-17 Thread xenarcher
Apologies if this has been asked before... Is there a way to extend and/or embed IronPython using C/C++? The tutorial that comes with the IronPython installation talks about C# and Visual Basic, but says nothing about C/C++. -- View this message in context:

[IronPython] IronPython v1.1 Released!

2007-04-17 Thread Dino Viehland
Hello IronPython Community, We have just released IronPython 1.1. It started out as the work on v1.0 started to wind down. We could not get the features ready before we started locking down for the v1.0 release but we're happy we can finally include them - as will be our summer interns who

Re: [IronPython] Application Domains and IronPython

2007-04-17 Thread Dino Viehland
For the call to .Load I think you'll want to provide goodbye instead of the fully qualified path. If that still doesn't work there's a tool called fuslogvw.exe which is part of the .NET Framework SDK (on my machine it's in %ProgramFiles%\Microsoft Visual Studio 8\SDK\v2.0\Bin but if you don't

Re: [IronPython] Application Domains and IronPython

2007-04-17 Thread Michael Foord
Dino Viehland wrote: For the call to .Load I think you'll want to provide goodbye instead of the fully qualified path. If that still doesn't work there's a tool called fuslogvw.exe which is part of the .NET Framework SDK (on my machine it's in %ProgramFiles%\Microsoft Visual Studio

[IronPython] import os

2007-04-17 Thread David Jensen
This is a very simple and obvious question. However, I am puzzled. I cannot do import os in ipy 1.0 or 1.1. Apparently, I have to import it from cpython according to codeplex? When I try importing ftplib, it says there is no os module. Why was an import of the os module not implemented? It would

Re: [IronPython] import os

2007-04-17 Thread Michael Foord
David Jensen wrote: This is a very simple and obvious question. However, I am puzzled. I cannot do import os in ipy 1.0 or 1.1. Apparently, I have to import it from cpython according to codeplex? When I try importing ftplib, it says there is no os module. Why was an import of the os module not