Re: threading and iterator crashing interpreter

2007-03-12 Thread Rhamphoryncus
On Mar 12, 4:47 pm, "Klaas" <[EMAIL PROTECTED]> wrote: > On Mar 12, 1:10 pm, "Rhamphoryncus" <[EMAIL PROTECTED]> wrote: > > >http://sourceforge.net/tracker/index.php?func=detail&aid=1579370&grou... > > > That refers to a generator crash. You are using generators, but also > > getting a weird dict

Re: threading and iterator crashing interpreter

2007-03-12 Thread Klaas
On Mar 12, 1:10 pm, "Rhamphoryncus" <[EMAIL PROTECTED]> wrote: > http://sourceforge.net/tracker/index.php?func=detail&aid=1579370&grou... > > That refers to a generator crash. You are using generators, but also > getting a weird dict error. Maybe related, maybe not. > > I'll figure out if I've go

Re: threading and iterator crashing interpreter

2007-03-12 Thread Rhamphoryncus
On Mar 11, 8:35 am, "Janto Dreijer" <[EMAIL PROTECTED]> wrote: > On Mar 11, 3:27 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> > wrote: > > At least, the problem of using the same generator from different threads > > still remains, if you don't use my modified code. In general, when using > > multipl

Re: threading and iterator crashing interpreter

2007-03-11 Thread Gabriel Genellina
En Sun, 11 Mar 2007 11:35:58 -0300, Janto Dreijer <[EMAIL PROTECTED]> escribió: >> At least, the problem of using the same generator from different threads >> still remains, if you don't use my modified code. In general, when using >> multiple threads you always need some way to syncronize acces

Re: threading and iterator crashing interpreter

2007-03-11 Thread Janto Dreijer
On Mar 11, 3:27 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sun, 11 Mar 2007 09:47:34 -0300, Janto Dreijer <[EMAIL PROTECTED]> > escribió: > > > As far as I can tell I'm not running it from restricted mode > > explicitly. > > This error is rather strange then: > > > > RuntimeError: inst

Re: threading and iterator crashing interpreter

2007-03-11 Thread Gabriel Genellina
En Sun, 11 Mar 2007 09:47:34 -0300, Janto Dreijer <[EMAIL PROTECTED]> escribió: > As far as I can tell I'm not running it from restricted mode > explicitly. This error is rather strange then: > > RuntimeError: instance.__dict__ not accessible in restricted mode "restricted mode" means that th

Re: threading and iterator crashing interpreter

2007-03-11 Thread Janto Dreijer
On Mar 11, 1:46 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Sun, 11 Mar 2007 07:32:04 -0300, Janto Dreijer <[EMAIL PROTECTED]> > escribió: > > > > > I have been having problems with the Python 2.4 and 2.5 interpreters > > on both Linux and Windows crashing on me. Unfortunately it's rath

Re: threading and iterator crashing interpreter

2007-03-11 Thread Janto Dreijer
On Mar 11, 2:20 pm, Bjoern Schliessmann wrote: > Janto Dreijer wrote: > > I have been having problems with the Python 2.4 and 2.5 > > interpreters on both Linux and Windows crashing on me. > > I don't understand -- does the interpreter crash (segfault) or is > just your program terminating due to

Re: threading and iterator crashing interpreter

2007-03-11 Thread Bjoern Schliessmann
Janto Dreijer wrote: > I have been having problems with the Python 2.4 and 2.5 > interpreters on both Linux and Windows crashing on me. I don't understand -- does the interpreter crash (segfault) or is just your program terminating due to unhandled exceptions? Regards, Björn -- BOFH excuse #

Re: threading and iterator crashing interpreter

2007-03-11 Thread Gabriel Genellina
En Sun, 11 Mar 2007 07:32:04 -0300, Janto Dreijer <[EMAIL PROTECTED]> escribió: > I have been having problems with the Python 2.4 and 2.5 interpreters > on both Linux and Windows crashing on me. Unfortunately it's rather > complex code and difficult to pin down the source. > > So I've been tryin