0, 2009 10:31 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Question on Multiple Discrete IronPython sessions in
a single process
If you import by executing the text "import " against the ScriptEngine
instead of using the import API, you will avoid this particular incarnation
t;
> Thanks for reporting this - this is a very bad bug.
>
> > -Original Message-
> > From: users-boun...@lists.ironpython.com [mailto:users-
> > boun...@lists.ironpython.com] On Behalf Of Lepisto, Stephen P
> > Sent: Thursday, April 30, 2009 10:10 AM
> > To:
}
> }
> }
>
> Foo.py:
> print 'hello'
>
> Printing out:
>
> hello
> hello
> no foo
>
> > -----Original Message-
> > From: users-boun...@lists.ironpython.com [mailto:users-
> > boun...@lists.ironpython.com] On Be
s-boun...@lists.ironpython.com [mailto:users-
> boun...@lists.ironpython.com] On Behalf Of Lepisto, Stephen P
> Sent: Thursday, April 30, 2009 10:10 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Question on Multiple Discrete IronPython
> sessions in a single process
>
>
rd
> Sent: Thursday, April 30, 2009 9:47 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Question on Multiple Discrete IronPython
> sessions in a single process
>
> Dino Viehland wrote:
> > And this works for me:
> >
>
> I just did the equivalent,
: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Dino Viehland
Sent: Thursday, April 30, 2009 9:28 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Question on Multiple Discrete IronPython sessions in
a single process
And this works for me
}
}
Foo.py:
print 'hello'
Printing out:
hello
hello
no foo
-Original Message-
From: users-boun...@lists.ironpython.com [mailto:users-
boun...@lists.ironpython.com] On Behalf Of Michael Foord
Sent: Thursday, April 30, 2009 9:08 AM
To: Discussion of IronPython
Subject:
ironpython.com] On Behalf Of Michael Foord
> Sent: Thursday, April 30, 2009 9:08 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Question on Multiple Discrete IronPython
> sessions in a single process
>
> Dino Viehland wrote:
> >
> > You mention CreateEn
l Foord
> Sent: Thursday, April 30, 2009 9:08 AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Question on Multiple Discrete IronPython
> sessions in a single process
>
> Dino Viehland wrote:
> >
> > You mention CreateEngine but are you also creating multiple
On Thu, Apr 30, 2009 at 9:08 AM, Michael Foord
wrote:
> Is CreateEngine not the correct way to get isolated engines?
Yes, but it looks like ImportModule is importing into some kind of shared state.
--
Curt Hagenlocher
c...@hagenlocher.org
___
Users mai
Dino Viehland wrote:
You mention CreateEngine but are you also creating multiple runtimes?
You’re only allowed 1 ScriptEngine of a given type per ScriptRuntime.
So you should create a new ScriptRuntime and then get the Python
engine for each runtime and then be isolated.
If you call Pytho
You mention CreateEngine but are you also creating multiple runtimes? You're
only allowed 1 ScriptEngine of a given type per ScriptRuntime. So you should
create a new ScriptRuntime and then get the Python engine for each runtime and
then be isolated.
From: users-boun...@lists.ironpython.com
12 matches
Mail list logo