Re: segfaults
"Robert Coup" <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
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. IMHO it's probably worthy of making 2.0.7 :) Thanks again, Rob :) -- Koordinates Ltd. (formerly One Track Mind) PO Box 1604, Shortland St, Auckland 1140, New Zealand Phone +64-9-966 0433 Fax +64-9-969 0045 Web http://www.onetrackmind.co.nz