mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
Merge revision 71222 from trunk: #5615: make it possible to configure --without-threads again.
This commit is contained in:
parent
0c0daf059b
commit
dfd734429e
4 changed files with 49 additions and 6 deletions
|
@ -459,7 +459,9 @@ PyMODINIT_FUNC PyInit__sqlite3(void)
|
|||
* 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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue