| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. ↵ | Serhiy Storchaka | 2018-12-05 | 1 | -17/+13 |
| | | | | | | | | (GH-8113). (GH-10946) (cherry picked from commit 5b25f1d03100e2283c1b129d461ba68ac0169a14) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> | ||||
| * | bpo-33029: Fix signatures of getter and setter functions. (GH-10746) | Miss Islington (bot) | 2018-11-27 | 1 | -3/+4 |
| | | | | | | | Fix also return type for few other functions (clear, releasebuffer). (cherry picked from commit d4f9cf5545d6d8844e0726552ef2e366f5cc3abd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | bpo-34743: Fix test_database_source_name under SQLite 3.7.9 (GH-9426) | Miss Islington (bot) | 2018-09-20 | 1 | -0/+6 |
| | | | | | | (cherry picked from commit b10a64d117de6121ea3e79c467c4107f8f399f3d) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> | ||||
| * | prefix internal sqlite symbols with _pysqlite_ (GH-8215) | Miss Islington (bot) | 2018-07-10 | 1 | -8/+8 |
| | | | | | | (cherry picked from commit 7762e4d3872818272800dfbd8e1d8e3a689eb8f2) Co-authored-by: Benjamin Peterson <benjamin@python.org> | ||||
| * | Fix error message in sqlite connection thread check. (GH-6028) | Miss Islington (bot) | 2018-03-26 | 1 | -2/+2 |
| | | | | | | (cherry picked from commit 030345c0bfc2f76684666fe5c61e766ba5debfe6) Co-authored-by: Takuya Akiba <469803+iwiwi@users.noreply.github.com> | ||||
| * | bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131) | Miss Islington (bot) | 2018-03-18 | 1 | -2/+2 |
| | | | | | | | | 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> | ||||
| * | bpo-27645: Add support for native backup facility of SQLite (GH-4238) | Miss Islington (bot) | 2018-03-10 | 1 | -0/+139 |
| | | | | | | (cherry picked from commit d7aed4102d2a40c74553240c7f03585624d27aea) Co-authored-by: Emanuele Gaifas <lelegaifax@gmail.com> | ||||
| * | Add the const qualifier to "char *" variables that refer to literal strings. ↵ | Serhiy Storchaka | 2017-11-11 | 1 | -1/+1 |
| | | | | | (#4370) | ||||
| * | bpo-31843: sqlite3.connect() now accepts PathLike objects as database name ↵ | Anders Lorentsen | 2017-11-07 | 1 | -2/+7 |
| | | | | | (#4299) | ||||
| * | bpo-31740: Prevent refleaks when sqlite3.Connection.__init__() is called ↵ | Oren Milman | 2017-10-10 | 1 | -8/+8 |
| | | | | | more than once (GH-3944) | ||||
| * | closes bpo-31525: require sqlite3_prepare_v2 (#3666) | Benjamin Peterson | 2017-09-20 | 1 | -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. | ||||
| * | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -37/+0 |
| | | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
| * | bpo-30592: Fixed error messages for some builtins. (#1996) | Serhiy Storchaka | 2017-06-08 | 1 | -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. | ||||
| * | Use NULL rather than 0. (#778) | Serhiy Storchaka | 2017-03-23 | 1 | -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. | ||||
| * | bpo-6532: Make the thread id an unsigned integer. (#781) | Serhiy Storchaka | 2017-03-23 | 1 | -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(). | ||||
| * | bpo-9303: Migrate sqlite3 module to _v2 API to enhance performance (#359) | Aviv Palivoda | 2017-03-03 | 1 | -5/+7 |
| | | |||||
| * | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -6/+3 |
| | | | | | possible. Patch is writen with Coccinelle. | ||||
| * | Issue #28915: Use _PyObject_CallNoArg() | Victor Stinner | 2016-12-09 | 1 | -2/+2 |
| | | | | | Replace PyObject_CallFunction(func, NULL) with _PyObject_CallNoArg(func). | ||||
| * | Added the const qualifier to char* variables that refer to readonly internal | Serhiy Storchaka | 2016-11-20 | 1 | -1/+1 |
| | | | | | UTF-8 represenatation of Unicode objects. | ||||
| * | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -2/+2 |
| | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| |\ | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| | * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-26 | 1 | -2/+4 |
| |\ \ | |/ | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
| | * | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-26 | 1 | -2/+4 |
| | | | | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
| * | | Issue #28037: Use sqlite3_get_autocommit() instead of setting ↵ | Berker Peksag | 2016-09-12 | 1 | -14/+17 |
| | | | | | | | | | | | | | Connection->inTransaction manually Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad | ||||
| * | | Issue #28036: Remove unused pysqlite_flush_statement_cache function | Berker Peksag | 2016-09-11 | 1 | -20/+0 |
| | | | |||||
| * | | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-06 | 1 | -8/+8 |
| | | | | | | | | | Directly pass NULL rather than an empty string. | ||||
| * | | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -39/+33 |
| |\ \ | |/ | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | ||||
| | * | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -39/+33 |
| | | | | | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | ||||
| * | | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -2/+11 |
| |\ \ | |/ | | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
| | * | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -2/+11 |
| | | | | | | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
| * | | Issue #10513: Merge from 3.5 | Berker Peksag | 2016-08-26 | 1 | -1/+0 |
| |\ \ | |/ | |||||
| | * | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | 2016-08-26 | 1 | -1/+0 |
| | | | | | | | | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa | ||||
| * | | Issue #27190: Merge from 3.5 | Berker Peksag | 2016-06-12 | 1 | -0/+4 |
| |\ \ | |/ | |||||
| | * | Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1 | Berker Peksag | 2016-06-12 | 1 | -0/+4 |
| | | | | | | | | | Patch by Dave Sawyer. | ||||
| * | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -3/+3 |
| |\ \ | |/ | | | | | in places where Py_DECREF was used. | ||||
| | * | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -3/+3 |
| | | | | | | | | | in places where Py_DECREF was used. | ||||
| * | | Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module | Berker Peksag | 2016-04-09 | 1 | -16/+8 |
| | | | |||||
| * | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 |
| |\ \ | |/ | |||||
| | * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 |
| | | | |||||
| * | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
| |/ | |||||
| * | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -8/+5 |
| | | | | | macro Py_SETREF. | ||||
| * | Issue #20274: When calling a _sqlite.Connection, it now complains if passed | Larry Hastings | 2015-05-08 | 1 | -3/+6 |
| |\ | | | | | | | | | | | any keyword arguments. Previously it silently ignored them. Also: merge related change from 3.4, also reported on Issue #20274. | ||||
| | * | Issue #20274: Remove ignored and erroneous "kwargs" parameters from three | Larry Hastings | 2015-05-08 | 1 | -3/+3 |
| |/ | | | | METH_VARARGS methods on _sqlite.Connection. | ||||
| * | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -5/+6 |
| | | | | | and PyObject_AsWriteBuffer(). | ||||
| * | Issue #21147: sqlite3 now raises an exception if the request contains a null | Serhiy Storchaka | 2014-09-11 | 1 | -1/+2 |
| | | | | | character instead of truncate it. Based on patch by Victor Stinner. | ||||
| * | (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalid | Victor Stinner | 2013-12-19 | 1 | -1/+4 |
| |\ | | | | | | | isolation level (wrong type). | ||||
| | * | Issue #20026: Fix the sqlite module to handle correctly invalid isolation level | Victor Stinner | 2013-12-19 | 1 | -1/+4 |
| | | | | | | | | | (wrong type). | ||||
| * | | sqlite: raise an OverflowError if the result is longer than INT_MAX bytes | Victor Stinner | 2013-11-18 | 1 | -2/+8 |
| | | | | | | | | | Fix a compiler warning on Windows 64-bit | ||||
| * | | Issue #19514: Deduplicate some _Py_IDENTIFIER declarations. | Martin v. Löwis | 2013-11-07 | 1 | -3/+2 |
| | | | | | | | | | Patch by Andrei Dorian Duma. | ||||
