Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. ↵ | Serhiy Storchaka | 2020-03-21 | 1 | -7/+22 |
| | | | | (GH-18942) | ||||
* | bpo-39245: Switch to public API for Vectorcall (GH-18460) | Petr Viktorin | 2020-02-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bulk of this patch was generated automatically with: for name in \ PyObject_Vectorcall \ Py_TPFLAGS_HAVE_VECTORCALL \ PyObject_VectorcallMethod \ PyVectorcall_Function \ PyObject_CallOneArg \ PyObject_CallMethodNoArgs \ PyObject_CallMethodOneArg \ ; do echo $name git grep -lwz _$name | xargs -0 sed -i "s/\b_$name\b/$name/g" done old=_PyObject_FastCallDict new=PyObject_VectorcallDict git grep -lwz $old | xargs -0 sed -i "s/\b$old\b/$new/g" and then cleaned up: - Revert changes to in docs & news - Revert changes to backcompat defines in headers - Nudge misaligned comments | ||||
* | bpo-39496: Remove redundant checks from _sqlite/cursor.c (GH-18270) | Alex Henrie | 2020-02-01 | 1 | -20/+6 |
| | |||||
* | bpo-39497: Remove unused variable from pysqlite_cursor_executescript (GH-18271) | Alex Henrie | 2020-01-30 | 1 | -3/+0 |
| | |||||
* | bpo-39494: Remove extra null terminators from kwlist vars (GH-18267) | Alex Henrie | 2020-01-30 | 1 | -1/+1 |
| | |||||
* | Replace _pysqlite_long_from_int64() with PyLong_FromLongLong() (GH-16882) | Sergey Fedoseev | 2019-10-23 | 1 | -2/+2 |
| | |||||
* | bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267) | Jeroen Demeyer | 2019-07-08 | 1 | -1/+1 |
| | |||||
* | bpo-37483: add _PyObject_CallOneArg() function (#14558) | Jeroen Demeyer | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | bpo-37406: sqlite3 raises TypeError for wrong operation type (GH-14386) | Victor Stinner | 2019-06-26 | 1 | -12/+2 |
| | | | | | The sqlite3 module now raises TypeError, rather than ValueError, if operation argument type is not str: execute(), executemany() and calling a connection. | ||||
* | bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵ | Jeroen Demeyer | 2019-05-30 | 1 | -2/+2 |
| | | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async | ||||
* | bpo-32788: Better error handling in sqlite3. (GH-3723) | Serhiy Storchaka | 2018-12-10 | 1 | -72/+53 |
| | | | Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user. | ||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) | Serhiy Storchaka | 2018-11-27 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Remove creation of a list for row_cast_map in pysqlite_cursor_init() (GH-8494) | Sergey Fedoseev | 2018-07-31 | 1 | -5/+2 |
| | | | | | This list is never used: if detect_types is on, this list will be replaced with another one before row_cast_map is used, if detect_types is off, row_cast_map is not used at all. | ||||
* | Remove some unused code in _pysqlite_query_execute() (GH-8495) | Sergey Fedoseev | 2018-07-27 | 1 | -6/+0 |
| | | | Unused since commit ab994ed8b97e1b0dac151ec827c857f5e7277565. | ||||
* | prefix internal sqlite symbols with _pysqlite_ (GH-8215) | Benjamin Peterson | 2018-07-09 | 1 | -2/+2 |
| | |||||
* | bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor ↵ | Oren Milman | 2017-11-06 | 1 | -0/+5 |
| | | | | object is uninitialized (#3958) | ||||
* | bpo-31770: Prevent a crash and refleaks when calling ↵ | Oren Milman | 2017-11-06 | 1 | -8/+7 |
| | | | | sqlite3.Cursor.__init__() more than once (#3968) | ||||
* | closes bpo-31525: require sqlite3_prepare_v2 (#3666) | Benjamin Peterson | 2017-09-20 | 1 | -63/+34 |
| | | | | | 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-9303: Migrate sqlite3 module to _v2 API to enhance performance (#359) | Aviv Palivoda | 2017-03-03 | 1 | -1/+3 |
| | |||||
* | bpo-28518: Start a transaction implicitly before a DML statement (#245) | Berker Peksag | 2017-02-26 | 1 | -5/+4 |
| | | | Patch by Aviv Palivoda. | ||||
* | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -2/+2 |
| | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | Issue #28037: Use sqlite3_get_autocommit() instead of setting ↵ | Berker Peksag | 2016-09-12 | 1 | -9/+0 |
| | | | | | | Connection->inTransaction manually Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad | ||||
* | Issue #10740: sqlite3 no longer implicitly commit an open transaction before ↵ | Berker Peksag | 2016-09-11 | 1 | -99/+26 |
| | | | | | | | | | | | | | | | | | | DDL statements This commit contains the following commits from ghaering/pysqlite: * https://github.com/ghaering/pysqlite/commit/f254c534948c41c0ceb8cbabf0d4a2f547754739 * https://github.com/ghaering/pysqlite/commit/796b3afe38cfdac5d7d5ec260826b0a596554631 * https://github.com/ghaering/pysqlite/commit/cae87ee68613697a5f4947b4a0941f59a28da1b6 * https://github.com/ghaering/pysqlite/commit/3567b31bb5e5b226ba006213a9c69dde3f155faf With the following additions: * Fixed a refcount error * Fixed a compiler warning * Made the string comparison a little more robust * Added a whatsnew entry | ||||
* | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-05 | 1 | -1/+1 |
| | | | | Directly pass NULL rather than an empty string. | ||||
* | Issue #21718: Merge from 3.5 | Berker Peksag | 2016-08-21 | 1 | -6/+5 |
|\ | |||||
| * | Issue #21718: cursor.description is now available for queries using CTEs | Berker Peksag | 2016-08-21 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | | | | According to PEP 249, cursor.description must be available for any SELECT statements, such as those that use CTEs. Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c Additional test cases added by me. | ||||
* | | Issue #16864: Cursor.lastrowid now supports REPLACE statement | Berker Peksag | 2016-06-14 | 1 | -1/+3 |
| | | | | | | | | Initial patch by Alex LordThorsen. | ||||
* | | 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 | -8/+4 |
| | | |||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -5/+5 |
| | | |||||
* | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -2/+2 |
|\ \ | |/ | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
| * | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -2/+2 |
| | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
|/ | |||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -8/+5 |
| | | | | macro Py_SETREF. | ||||
* | Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now | Victor Stinner | 2015-03-06 | 1 | -4/+0 |
| | | | | | | | | | | | raise a SystemError if a function returns a result and raises an exception. The SystemError is chained to the previous exception. Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable. Remove some checks which became useless (duplicate checks). Change reviewed by Serhiy Storchaka. | ||||
* | Issue #22218: Fix "comparison between signed and unsigned integers" warning in | Victor Stinner | 2014-08-17 | 1 | -1/+1 |
| | | | | Modules/_sqlite/cursor.c. | ||||
* | Issue #21858: Better handling of Python exceptions in the sqlite3 module. | Victor Stinner | 2014-06-26 | 1 | -16/+26 |
| | |||||
* | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -6/+3 |
|\ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -6/+3 |
| | | |||||
* | | Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, when the row factory | Victor Stinner | 2013-11-05 | 1 | -0/+5 |
| | | | | | | | | | | fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step()) | ||||
* | | Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, handle | Victor Stinner | 2013-11-05 | 1 | -0/+6 |
| | | | | | | | | _pysqlite_fetch_one_row() failure | ||||
* | | Issue #18701: Remove support of old CPython versions (<3.0) from C code. | Serhiy Storchaka | 2013-08-17 | 1 | -1/+0 |
| | | |||||
* | | Issue #18408: Fix _pysqlite_fetch_one_row(), in debug mode, don't call | Victor Stinner | 2013-07-18 | 1 | -0/+5 |
|/ | | | | type_call() with an exception set | ||||
* | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, | Serhiy Storchaka | 2013-04-28 | 1 | -1/+1 |
| | | | | such as was shipped with Centos 5 and Mac OS X 10.4. | ||||
* | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 1 | -17/+3 |
|\ | |||||
| * | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 1 | -17/+3 |
| | | |||||
| * | Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵ | Petri Lehtinen | 2012-02-06 | 1 | -10/+19 |
| | | | | | | | | ProgrammingError now. | ||||
* | | Undocument and clean up sqlite3.OptimizedUnicode | Petri Lehtinen | 2012-02-09 | 1 | -17/+3 |
| | | | | | | | | Closes #13921. |