| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 edad38e3e05586ba58291f47756eb3fb808f5577)
* 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 fb7e7992beec7f76cc2db77ab6ce1e86446bfccf)
* bpo-9566: Fix compiler warnings in peephole.c (GH-10652)
(cherry picked from commit 028f0ef4f3111d2b3fc5b971642e337ba7990873)
* 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 ca405017d5e776a2e3d9291236e62d2e09489dd2)
|
| |
|
|
|
|
|
| |
(GH-11175)
(cherry picked from commit 842acaab1376c5c84fd5966bb6070e289880e1ca)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
| |
|
|
|
|
|
| |
(GH-8113). (GH-10946)
(cherry picked from commit 5b25f1d03100e2283c1b129d461ba68ac0169a14)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
|
| |
|
|
|
|
| |
Fix also return type for few other functions (clear, releasebuffer).
(cherry picked from commit d4f9cf5545d6d8844e0726552ef2e366f5cc3abd)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit b10a64d117de6121ea3e79c467c4107f8f399f3d)
Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit 7762e4d3872818272800dfbd8e1d8e3a689eb8f2)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
|
| |
|
|
|
| |
(cherry picked from commit 030345c0bfc2f76684666fe5c61e766ba5debfe6)
Co-authored-by: Takuya Akiba <469803+iwiwi@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
It was actually fixed in SQLite 3.8.8, not 3.8.7.
(cherry picked from commit bbf7bb7a636b3112ef6f6b31df385606d52517ce)
Co-authored-by: Aviv Palivoda <palaviv@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit d7aed4102d2a40c74553240c7f03585624d27aea)
Co-authored-by: Emanuele Gaifas <lelegaifax@gmail.com>
|
| |
|
|
| |
(#4370)
|
| |
|
|
| |
(#4299)
|
| |
|
|
| |
more than once (GH-3944)
|
| |
|
|
|
| |
This is based on
https://github.com/ghaering/pysqlite/commit/40b349cadbd87c42f70fc92e5e1aee6d02564c6d#diff-0489411409cd2934730e88bf7767790,
though we can be a bit more aggressive about deleting code.
|
| |
|
|
|
|
| |
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
|
| |
|
|
|
| |
Error messages when pass keyword arguments to some builtins that
don't support keyword arguments contained double parenthesis: "()()".
The regression was introduced by bpo-30534.
|
| |
|
|
|
| |
There was few cases of using literal 0 instead of NULL in the context of
pointers. While this was a legitimate C code, using NULL rather than 0 makes
the code clearer.
|
| |
|
|
|
|
|
|
|
|
|
| |
* bpo-6532: Make the thread id an unsigned integer.
From C API side the type of results of PyThread_start_new_thread() and
PyThread_get_thread_ident(), the id parameter of
PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState
changed from "long" to "unsigned long".
* Restore a check in thread_get_ident().
|
| | |
|
| |
|
|
| |
possible. Patch is writen with Coccinelle.
|
| |
|
|
| |
Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func).
|
| |
|
|
| |
UTF-8 represenatation of Unicode objects.
|
| |
|
|
| |
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
|
| |\
| |
| |
| |
| |
| | |
_PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
|
| | |
| |
| |
| |
| |
| | |
_PyUnicode_EqualToASCIIString.
The latter function is more readable, faster and doesn't raise exceptions.
|
| |\ \
| |/
| |
| | |
if pass invalid string-like object as a name. Patch by Xiang Zhang.
|
| | |
| |
| |
| | |
if pass invalid string-like object as a name. Patch by Xiang Zhang.
|
| | |
| |
| |
| |
| |
| | |
Connection->inTransaction manually
Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad
|
| | | |
|
| | |
| |
| |
| | |
Directly pass NULL rather than an empty string.
|
| |\ \
| |/
| |
| |
| |
| | |
sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
|
| | |
| |
| |
| |
| |
| | |
sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
|
| |\ \
| |/
| |
| | |
creates not a cursor. Patch by Xiang Zhang.
|
| | |
| |
| |
| | |
creates not a cursor. Patch by Xiang Zhang.
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
Statements should not be reset after a commit.
Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
Patch by Dave Sawyer.
|
| |\ \
| |/
| |
| | |
in places where Py_DECREF was used.
|
| | |
| |
| |
| | |
in places where Py_DECREF was used.
|
| | | |
|
| |\ \
| |/ |
|
| | | |
|
| |/ |
|
| |
|
|
| |
macro Py_SETREF.
|
| |\
| |
| |
| |
| |
| | |
any keyword arguments. Previously it silently ignored them.
Also: merge related change from 3.4, also reported on Issue #20274.
|
| |/
|
|
| |
METH_VARARGS methods on _sqlite.Connection.
|
| |
|
|
| |
and PyObject_AsWriteBuffer().
|
| |
|
|
| |
character instead of truncate it. Based on patch by Victor Stinner.
|
| |\
| |
| |
| | |
isolation level (wrong type).
|
| | |
| |
| |
| | |
(wrong type).
|