Re: [pysqlite] Releasing GIL around sqlite3_prepare
Gerhard Häring <[email protected]> Mon, 25 Aug 2008 12:17:17 +0200
| Newsgroups | gmane.comp.python.db.pysqlite.user |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Hi, > > I noticed that not all calls to sqlite3_prepare() in pysqlite 2.3.2 > (which is the version that ships with both Python 2.5.1 and 2.5.2) > are wrapped with Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS. > [...] Your explanation why this creates problems makes sense to me. This was an oversight on my part. Fixed in Changeset 337. Thanks for reporting this. The change should improve some of the concurrency problems that I couldn't explain before. -- Gerhard