| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-05-02 | bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ ↵ | Erlend Egeberg Aasland | -0/+4 | |
| (GH-25818) (cherry picked from commit c96cc089f60d2bf7e003c27413c3239ee9de2990) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
| 2020-09-21 | bpo-41815: SQLite: segfault if backup called on closed database (GH-22322) | Miss Islington (bot) | -0/+4 | |
| GH- [bpo-41815](): SQLite: fix segfault if backup called on closed database Attempting to backup a closed database will trigger segfault: ```python import sqlite3 target = sqlite3.connect(':memory:') source = sqlite3.connect(':memory:') source.close() source.backup(target) ``` (cherry picked from commit bfee9fad84531a471fd7864e88947320669f68e2) Co-authored-by: Peter McCormick <peter@pdmccormick.com> | ||||
| 2019-07-12 | closes bpo-37347: Fix refcount problem in sqlite3. (GH-14268) | Miss Islington (bot) | -34/+41 | |
| (cherry picked from commit b9a0376b0dedf16a2f82fa43d851119d1f7a2707) Co-authored-by: gescheit <gescheit@yandex-team.ru> | ||||
| 2019-05-30 | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | -2/+2 | |
| (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
| 2018-12-17 | bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵ | Zackery Spytz | -0/+4 | |
| (GH-11175) | ||||
| 2018-12-10 | bpo-32788: Better error handling in sqlite3. (GH-3723) | Serhiy Storchaka | -2/+6 | |
| Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user. | ||||
| 2018-12-05 | bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. ↵ | Sergey Fedoseev | -18/+13 | |
| (GH-8113) | ||||
| 2018-11-27 | bpo-33029: Fix signatures of getter and setter functions. (GH-10746) | Serhiy Storchaka | -3/+4 | |
| Fix also return type for few other functions (clear, releasebuffer). | ||||
| 2018-11-27 | bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) | Serhiy Storchaka | -7/+7 | |
| Fix invalid function cast warnings with gcc 8 for method conventions different from METH_NOARGS, METH_O and METH_VARARGS excluding Argument Clinic generated code. | ||||
| 2018-09-20 | bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426) | Berker Peksag | -0/+6 | |
| 2018-07-09 | prefix internal sqlite symbols with _pysqlite_ (GH-8215) | Benjamin Peterson | -8/+8 | |
| 2018-07-08 | bpo-34041: Allow creating deterministic functions in ↵ | Sergey Fedoseev | -4/+28 | |
| Connection.create_function() (GH-8086) | ||||
| 2018-04-30 | bpo-27645, sqlite: Fix integer overflow on sleep (#6594) | Victor Stinner | -4/+20 | |
| 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-03-26 | Fix error message in sqlite connection thread check. (GH-6028) | Takuya Akiba | -2/+2 | |
| 2018-03-18 | bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131) | Aviv Palivoda | -2/+2 | |
| It was actually fixed in SQLite 3.8.8, not 3.8.7. | ||||
| 2018-03-11 | bpo-27645: Add support for native backup facility of SQLite (GH-4238) | Emanuele Gaifas | -0/+139 | |
| 2017-11-11 | Add the const qualifier to "char *" variables that refer to literal strings. ↵ | Serhiy Storchaka | -1/+1 | |
| (#4370) | ||||
| 2017-11-06 | bpo-31843: sqlite3.connect() now accepts PathLike objects as database name ↵ | Anders Lorentsen | -2/+7 | |
| (#4299) | ||||
| 2017-10-10 | bpo-31740: Prevent refleaks when sqlite3.Connection.__init__() is called ↵ | Oren Milman | -8/+8 | |
| more than once (GH-3944) | ||||
| 2017-09-20 | closes bpo-31525: require sqlite3_prepare_v2 (#3666) | Benjamin Peterson | -3/+3 | |
| This is based on https://github.com/ghaering/pysqlite/commit/40b349cadbd87c42f70fc92e5e1aee6d02564c6d#diff-0489411409cd2934730e88bf7767790, though we can be a bit more aggressive about deleting code. | ||||
| 2017-09-07 | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | -37/+0 | |
| * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
| 2017-06-08 | bpo-30592: Fixed error messages for some builtins. (#1996) | Serhiy Storchaka | -1/+1 | |
| 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. | ||||
| 2017-03-23 | Use NULL rather than 0. (#778) | Serhiy Storchaka | -1/+1 | |
| 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. | ||||
| 2017-03-23 | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | -1/+1 | |
| * 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(). | ||||
| 2017-03-03 | bpo-9303: Migrate sqlite3 module to _v2 API to enhance performance (#359) | Aviv Palivoda | -5/+7 | |
| 2017-01-23 | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | -6/+3 | |
| possible. Patch is writen with Coccinelle. | ||||
| 2016-12-09 | Issue #28915: Use _PyObject_CallNoArg() | Victor Stinner | -2/+2 | |
| Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func). | ||||
| 2016-11-20 | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | -1/+1 | |
| UTF-8 represenatation of Unicode objects. | ||||
| 2016-11-20 | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | -2/+2 | |
| with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
| 2016-11-16 | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | -1/+1 | |
| _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| 2016-11-16 | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | -1/+1 | |
| _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| 2016-09-27 | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | -2/+4 | |
| if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
| 2016-09-27 | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | -2/+4 | |
| if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
| 2016-09-12 | Issue #28037: Use sqlite3_get_autocommit() instead of setting ↵ | Berker Peksag | -14/+17 | |
| Connection->inTransaction manually Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad | ||||
| 2016-09-11 | Issue #28036: Remove unused pysqlite_flush_statement_cache function | Berker Peksag | -20/+0 | |
| 2016-09-01 | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | -38/+32 | |
| sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | ||||
| 2016-09-05 | Avoid calling functions with an empty string as format string | Victor Stinner | -8/+8 | |
| Directly pass NULL rather than an empty string. | ||||
| 2016-09-01 | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | -38/+32 | |
| sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | ||||
| 2016-08-29 | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | -2/+11 | |
| creates not a cursor. Patch by Xiang Zhang. | ||||
| 2016-08-29 | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | -2/+11 | |
| creates not a cursor. Patch by Xiang Zhang. | ||||
| 2016-08-26 | Issue #10513: Merge from 3.5 | Berker Peksag | -1/+0 | |
| 2016-08-26 | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | -1/+0 | |
| Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa | ||||
| 2016-06-12 | Issue #27190: Merge from 3.5 | Berker Peksag | -0/+4 | |
| 2016-06-12 | Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1 | Berker Peksag | -0/+4 | |
| Patch by Dave Sawyer. | ||||
| 2016-04-10 | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | -3/+3 | |
| in places where Py_DECREF was used. | ||||
| 2016-04-10 | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | -3/+3 | |
| in places where Py_DECREF was used. | ||||
| 2016-04-09 | Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module | Berker Peksag | -16/+8 | |
| 2016-04-06 | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | -4/+4 | |
| 2016-04-06 | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | -4/+4 | |
| 2015-12-25 | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | -1/+1 | |
