cpython/Modules/_sqlite
Victor Stinner 8a9a6b443c
[3.7] bpo-9566: Fix compiler warnings on Windows (GH-12920)
* bpo-9566: Fix compiler warnings in gcmodule.c (GH-11010)

Change PyDTrace_GC_DONE() argument type from int to Py_ssize_t.

(cherry picked from commit edad38e3e0)

* bpo-30465: Fix C downcast warning on Windows in ast.c (#6593)

ast.c: fstring_fix_node_location() downcasts a pointer difference to
a C int. Replace int with Py_ssize_t to fix the compiler warning.

(cherry picked from commit fb7e7992be)

* bpo-9566: Fix compiler warnings in peephole.c (GH-10652)

(cherry picked from commit 028f0ef4f3)

* 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).

(cherry picked from commit ca405017d5)
2019-04-23 10:26:11 +02:00
..
cache.c
cache.h
connection.c [3.7] bpo-9566: Fix compiler warnings on Windows (GH-12920) 2019-04-23 10:26:11 +02:00
connection.h bpo-6532: Make the thread id an unsigned integer. (#781) 2017-03-23 14:48:39 +01:00
cursor.c prefix internal sqlite symbols with _pysqlite_ (GH-8215) 2018-07-09 21:48:02 -07:00
cursor.h
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 prefix internal sqlite symbols with _pysqlite_ (GH-8215) 2018-07-09 21:48:02 -07:00
module.h prefix internal sqlite symbols with _pysqlite_ (GH-8215) 2018-07-09 21:48:02 -07:00
prepare_protocol.c
prepare_protocol.h
row.c bpo-33029: Fix signatures of getter and setter functions. (GH-10746) 2018-11-27 09:58:07 -08:00
row.h
statement.c bpo-32215: Fix performance regression in sqlite3 (GH-8511) 2018-09-20 18:56:56 +03: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