[wxPython] ThreadedInterpreter

Hi Ellers,

Thank you for your reply.
I do not know if you have tested psi, but it seems
a "ThreadedInterpreter" is a good solution to my problems.
(It will be good for PyCrust too).

If I understand correcly, I have to write a class ThreadedInterpreter,
that do the job. This class should contain method like push,
runcode, runsource, ... plus some utilities like Interrupted or
KillInterpreter.

Now the question. Does such a beast already exist or should I
write it myself? In the latter case, I'm becoming less optimistic.

Regards.
Jean-Michel Fauth, Switerland

Hi Ellers,

Thank you for your reply.
I do not know if you have tested psi, but it seems
a "ThreadedInterpreter" is a good solution to my problems.
(It will be good for PyCrust too).

My apologies - I didn't have a chance to test it. I had a quick look over the code and I think the threaded interpreter solution would help.

If I understand correcly, I have to write a class ThreadedInterpreter,
that do the job. This class should contain method like push,
runcode, runsource, ... plus some utilities like Interrupted or
KillInterpreter.

Well it doesn't have to be called "ThreadedInterpreter" :wink:
But your description above does fit how I built it.

Now the question. Does such a beast already exist or should I
write it myself? In the latter case, I'm becoming less optimistic.

It does exist... but I wrote it is for a client and as such belongs to them. :frowning:

But having said that, I will go through the right channels and see if the code can be released... I've wondered if it might be useful to others.

The only thing is things are really busy right now at the end of a development iteration so it would be at least a couple weeks before I'd be
able to get to it... I'll see what I can do though.

Ellers

ยทยทยท

7/25/02 4:15:48 AM, "Jean-Michel Fauth" <jmfauth@bluewin.ch> wrote: