Hi!
I hope I've got the right list here- there were a few to choose from. :}
I am trying to embed Python with multiple interpreters into an existing
application. I have things working fine with a single interpreter thus
far. I am running into problems when using multiple interpreters [1] and
Hi Chris (and Michael),
On 06/12/13 15:51, Chris Angelico wrote:
On Fri, Dec 6, 2013 at 4:16 PM, Michael Torrie wrote:
On 12/05/2013 07:34 PM, Garthy wrote:
- My fallback if I can't do this is to implement each instance in a
dedicated *process* rather than per-thread. However, there
Hi Gregory,
On 06/12/13 17:28, Gregory Ewing wrote:
> Garthy wrote:
>> I am running into problems when using multiple interpreters [1] and I
>> am presently trying to track down these issues. Can anyone familiar
>> with the process of embedding multiple interprete
Hi all,
A small update here:
On 06/12/13 13:04, Garthy wrote:
> [1] It presently crashes in Py_EndInterpreter() after running through a
> series of tests during the shutdown of the 32nd interpreter I create. I
> don't know if this is significant, but the tests pass fo
Hi Chris (and Michael),
On 06/12/13 15:46, Michael Torrie wrote:
> On 12/05/2013 07:34 PM, Garthy wrote:
>> - My fallback if I can't do this is to implement each instance in a
>> dedicated *process* rather than per-thread. However, there is a
>> significant cost
Hi all,
A small update here:
On 06/12/13 13:04, Garthy wrote:
> [1] It presently crashes in Py_EndInterpreter() after running through a
> series of tests during the shutdown of the 32nd interpreter I create. I
> don't know if this is significant, but the tests pass fo
Hi Gregory,
On 06/12/13 17:28, Gregory Ewing wrote:
> Garthy wrote:
>> I am running into problems when using multiple interpreters [1] and I
>> am presently trying to track down these issues. Can anyone familiar
>> with the process of embedding multiple interprete
Hi Chris,
On 06/12/13 19:03, Chris Angelico wrote:
> On Fri, Dec 6, 2013 at 6:59 PM, Garthy
> wrote:
>> Hi Chris (and Michael),
>
> Hehe. People often say that to me IRL, addressing me and my brother.
> But he isn't on python-list, so you clearly mean Michael To
Hi Chris,
On 06/12/13 19:57, Chris Angelico wrote:
> On Fri, Dec 6, 2013 at 7:21 PM, Garthy
> wrote:
>> PS. Apologies if any of these messages come through more than once. Most
>> lists that I've posted to set reply-to meaning a normal reply can be
used,
>> but
Hi Chris,
On 06/12/13 22:27, Chris Angelico wrote:
> On Fri, Dec 6, 2013 at 8:35 PM, Garthy
> wrote:
>> I think the ideal is completely sandboxed, but it's something that I
>> understand I may need to make compromises on. The bare minimum would be
>> protection ag
Hi Tim,
On 06/12/13 20:47, Tim Golden wrote:
On 06/12/2013 09:27, Chris Angelico wrote:
On Fri, Dec 6, 2013 at 7:21 PM, Garthy
wrote:
PS. Apologies if any of these messages come through more than once. Most
lists that I've posted to set reply-to meaning a normal reply can be used
Hi Gregory,
On 07/12/13 08:53, Gregory Ewing wrote:
> Garthy wrote:
>> The bare minimum would be protection against inadvertent interaction.
>> Better yet would be a setup that made such interaction annoyingly
>> difficult, and the ideal would be where it was impossible
Hi Gregory,
On 07/12/13 08:39, Gregory Ewing wrote:
> Garthy wrote:
>> To allow each script to run in its own environment, with minimal
>> chance of inadvertent interaction between the environments, whilst
>> allowing each script the ability to stall on conditions that wi
Hi all,
I am attempting to embed Python 3.3.3 into an application.
Following advice which suggests not using multiple interpreters, I am
experimenting using a *single* interpreter and multiple threads.
So far I have been loading directly into "__main__", ie. something like
this:
PyObject
Hi all,
I've written a minimal set of tests illustrate the issue, which also
confirms it is independent of threading. Details below. If you build it,
you might need to tweak the Makefile to run on your system. The script
"run" will run all eight tests. They pass only when we load everything
Hi all,
The output I collected skipped the error messages for some reason.
Updated test output with full errors follows.
Cheers,
Garth
---
rm -f applepy applepy.o
gcc -c -o applepy.o applepy.c -g -Wall -I/opt/python/include/python3.3m
gcc -o applepy applepy.o -g -Wall -L/opt/python/lib -lpy
Hi all,
On 12/12/13 18:03, Garthy wrote:
> I am attempting to embed Python 3.3.3 into an application.
...
> Any ideas about what I might be doing wrong? Anything I can try on the
> Python side or the C API side? My Python knowledge is a bit rusty so I
> may have missed somethin
17 matches
Mail list logo