Re: segfaults
"James Henstridge" <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 07/03/2008, Robert Coup <[email protected]> wrote: > On 07/03/2008, James Henstridge <[email protected]> wrote: > > That bit of code looks like it is buggy w.r.t. handling of the global > > interpreter lock -- calling Python APIs while not holding the GIL is > > an error. > > > > Could you try applying the attached patch and see if it fixes your > > problem? If you are still having problems, could you try upgrading to > > the latest revision? > > > You sir, are a legend. Works great on all the affected systems. I owe > you beer when you're next in Auckland. The change is now committed in r939. > IMHO it's probably worthy of making 2.0.7 :) Yep, I'd like to see a release too. James.