That's the 1.1 way of doing it, the 2.x way is probably hanging off of
PythonCompilerOptions (I'd look it up but I'm on my phone).
From: Doug Blank
Sent: 11/23/2011 10:47 AM
To: Dino Viehland
Cc: Jeff Hardy; Markus Schaber; ironpython-users@python.org
Subject: Re:
Perhaps this is what you are thinking of:
PythonEngine engine = new PythonEngine(pyEngineOptions);
engine.DefaultModule = engine.CreateModule("__main__", true);
From:
http://ironpython.codeplex.com/workitem/2537
-Doug
On Wed, Nov 23, 2011 at 1:13 PM, Dino Viehland wrote:
> I think there's a M
I think there's a ModuleOptions flag which controls it but don't remember how
to flow it in off the top of my head
From: Jeff Hardy
Sent: 11/23/2011 7:31 AM
To: Markus Schaber
Cc: ironpython-users@python.org
Subject: Re: [Ironpython-users] Setting __name__ to __mai
Your best bet is to look at the source to ipy.exe, which has to do the
same thing.
- Jeff
On Mon, Nov 21, 2011 at 9:21 AM, Markus Schaber
wrote:
> Hi,
>
> I want to set the __name__ variable to "__main__" in the script I execute.
> However, it seems that the __name__ variable always is overridd
Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New comment] Support Windows 8 'Metro'
2. [New issue] Bug with Log() function
3. [New comment] Bug with Log() function
--
ISSUES
1. [New com