threading and iterator crashing interpreter
rhamph at gmail.com
Tue Mar 13 06:39:25 CET 2007
On Mar 12, 4:47 pm, "Klaas" <mike.kl... at gmail.com> wrote:
> On Mar 12, 1:10 pm, "Rhamphoryncus" <rha... at gmail.com> wrote:
> > 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 got a "fixed" version or not when I get back.
The bug report mentions 2.5.1, which hasn't be released yet, so
obviously I'm not using it. :)
> I was the one who filed the first bug. login2 is definitely the same
> bug: you have a generator running in a thread, but the thread is being
> garbage collected before the generator's .close() method is run (which
> references the thread state).
> Try the patch I posted in the bug above; if it works, then python
> trunk/5.1maint should work.
And with a fresh checkout of trunk I still get a crash with login1.
login2 isn't crashing, although it's not as consistent for me anyway.
More information about the Python-list