Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/module.c @ 52870:98f42392835b
Merge revision 71222 from trunk: #5615: make it possible to configure --without-threads again.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 05 Apr 2009 11:47:34 +0000 |
| parents | 8f886acaa142 |
| children | f197407bdba2 3003c1656e2a |
line wrap: on
line diff
--- a/Modules/_sqlite/module.c Sun Apr 05 11:11:12 2009 +0000 +++ b/Modules/_sqlite/module.c Sun Apr 05 11:47:34 2009 +0000 @@ -459,7 +459,9 @@ * threads have already been initialized. * (see pybsddb-users mailing list post on 2002-08-07) */ +#ifdef WITH_THREAD PyEval_InitThreads(); +#endif error: if (PyErr_Occurred())
