Can you use the .Net stack trace mechanisms to "look back up the call stack"?
I would think that you could, but I don't know how you'd necessarily get the
value of the PythonEngine that you find.
Could you have a "static constructor" in your C# assemblies that does the right
thing? Such code
In my case I'm looking to write assemblies in C# that makes use of
modules defined in IronPython that others can use without having to
know or care that they use IronPython (except for having to have the
IronPython dlls around). Things are complicated by the fact that some
of the modules us
nd how horrible you think the 2
solutions are :) ).
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ferrara
Sent: Monday, September 18, 2006 8:48 AM
To: Discussion of IronPython
Subject: Re: [IronPython] What PythonEngine called my C# code? (was: custom
Confi
Not that I saw.
On Sep 18, 2006, at 11:14 AM, J. Merrill wrote:
> Was an answer to this ever given?
>
> At 12:34 PM 9/1/2006, Jason Ferrara wrote
>> If I wanted to write a stub in C#, how do I get access to a
>> PythonEngine that represents the python environment that called the
>> C# code? Just
Was an answer to this ever given?
At 12:34 PM 9/1/2006, Jason Ferrara wrote
>If I wanted to write a stub in C#, how do I get access to a
>PythonEngine that represents the python environment that called the
>C# code? Just calling IronPython.Hosting.PythonEngine() seems to get
>me a new enviro