Skip to content

Commit 38d335b

Browse files
committed
Issue python#28480: Avoid label at end of compound statement --without-threads
1 parent cb042e0 commit 38d335b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎Misc/NEWS‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ Core and Builtins
6060
Library
6161
-------
6262

63+
- Issue #28480: Fix error building _sqlite3 module when multithreading is
64+
disabled.
65+
6366
- Issue #24452: Make webbrowser support Chrome on Mac OS X.
6467

6568
- Issue #26293: Fixed writing ZIP files that starts not from the start of the

‎Modules/_sqlite/connection.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ void _pysqlite_final_callback(sqlite3_context* context)
790790
}
791791

792792
error:
793+
; /* necessary for --without-threads flag */
793794
#ifdef WITH_THREAD
794795
PyGILState_Release(threadstate);
795796
#endif

0 commit comments

Comments
 (0)