cpython/Modules/_sqlite
Victor Stinner ca405017d5
bpo-27645, sqlite: Fix integer overflow on sleep (#6594)
Use the _PyTime_t type and round away from zero (ROUND_UP,
_PyTime_ROUND_TIMEOUT) the sleep duration, when converting a Python
object to seconds and then to milliseconds. Raise an OverflowError in
case of overflow.

Previously the (int)double conversion rounded towards zero
(ROUND_DOWN).
2018-04-30 12:22:17 +02:00
..
cache.c Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of dict. 2016-12-16 16:18:57 +02:00
cache.h Welcome to the UTF-8 world. 2010-09-03 23:47:32 +00:00
connection.c bpo-27645, sqlite: Fix integer overflow on sleep (#6594) 2018-04-30 12:22:17 +02:00
connection.h bpo-6532: Make the thread id an unsigned integer. (#781) 2017-03-23 14:48:39 +01:00
cursor.c bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized (#3958) 2017-11-06 16:09:49 -08:00
cursor.h Issue #10740: sqlite3 no longer implicitly commit an open transaction before DDL statements 2016-09-11 12:57:15 +03:00
microprotocols.c closes bpo-32460: ensure all non-static globals have initializers (#5061) 2017-12-31 10:04:13 -08:00
microprotocols.h closes bpo-32460: ensure all non-static globals have initializers (#5061) 2017-12-31 10:04:13 -08:00
module.c bpo-27645: Add support for native backup facility of SQLite (GH-4238) 2018-03-11 01:08:31 +03:00
module.h Fix typo in _sqlite/module.h 2016-06-12 19:17:49 +03:00
prepare_protocol.c Issue #18701: Remove support of old CPython versions (<3.0) from C code. 2013-08-17 00:48:02 +03:00
prepare_protocol.h Welcome to the UTF-8 world. 2010-09-03 23:47:32 +00:00
row.c bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. (GH-6030) 2018-04-29 21:59:33 +03:00
row.h Welcome to the UTF-8 world. 2010-09-03 23:47:32 +00:00
statement.c closes bpo-31525: require sqlite3_prepare_v2 (#3666) 2017-09-20 07:36:18 -07:00
statement.h closes bpo-31525: require sqlite3_prepare_v2 (#3666) 2017-09-20 07:36:18 -07:00
util.c closes bpo-31525: require sqlite3_prepare_v2 (#3666) 2017-09-20 07:36:18 -07:00
util.h closes bpo-31525: require sqlite3_prepare_v2 (#3666) 2017-09-20 07:36:18 -07:00