summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40956: Convert _sqlite3.Row to Argument Clinic (GH-23964)Erlend Egeberg Aasland2020-12-292-21/+86
|
* Fix compiler warnings regarding loss of data (GH-23983)Pablo Galindo2020-12-291-1/+1
|
* bpo-1635741: sqlite3: Fix ref leak introduced by commit bf64d90 (GH-23972)Erlend Egeberg Aasland2020-12-281-1/+0
|
* bpo-1635741: sqlite3 uses Py_NewRef/Py_XNewRef (GH-23170)Erlend Egeberg Aasland2020-12-277-82/+45
|
* bpo-40956: Convert _sqlite3.Connection to Argument Clinic, part 2 (GH-23838)Erlend Egeberg Aasland2020-12-274-77/+297
|
* bpo-40956: Fix sqlite3 AC code (GH-23837)Dong-hee Na2020-12-182-9/+32
|
* bpo-40956: Convert _sqlite3.Connection to Argument Clinic (GH-23341)Erlend Egeberg Aasland2020-12-183-135/+702
|
* bpo-42264: Deprecate sqlite3.OptimizedUnicode (GH-23163)Erlend Egeberg Aasland2020-11-171-9/+0
|
* bpo-41861, _sqlite3 : Add NEWS entry and rename variables (GH-23337)Erlend Egeberg Aasland2020-11-171-8/+8
|
* bpo-1635741: _sqlite3 uses PyModule_AddObjectRef() (GH-23148)Erlend Egeberg Aasland2020-11-042-17/+16
|
* bpo-40956: Convert _sqlite3 module level functions to Argument Clinic (GH-22484)Erlend Egeberg Aasland2020-10-314-88/+313
|
* bpo-42021: Fix possible ref leaks during _sqlite3 module init (GH-22673)Erlend Egeberg Aasland2020-10-153-129/+92
|
* bpo-41861: Convert _sqlite3 CursorType and ConnectionType to heap types ↵Erlend Egeberg Aasland2020-10-016-102/+74
| | | | (GH-22478)
* bpo-41861: Convert _sqlite3 RowType and StatementType to heap types (GH-22444)Erlend Egeberg Aasland2020-10-019-118/+71
|
* bpo-41861: Convert _sqlite3 PrepareProtocolType to heap type (GH-22428)Erlend Egeberg Aasland2020-09-285-54/+33
|
* bpo-41861: Convert _sqlite3 cache and node static types to heap types (GH-22417)Erlend Egeberg Aasland2020-09-274-99/+48
|
* bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)Peter McCormick2020-09-201-0/+4
| | | | | | | | | | | | | # [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) ```
* bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998)Serhiy Storchaka2020-09-171-2/+5
| | | | | | | * When the parameters argument is a list, correctly handle the case of changing it during iteration. * When the parameters argument is a custom sequence, no longer override an exception raised in ``__len__()``.
* bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909)Erlend Egeberg Aasland2020-09-072-66/+16
| | | | | | Remove code required to support SQLite pre 3.7.3. Co-written-by: Berker Peksag <berker.peksag@gmail.com> Co-written-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
* bpo-40318: Migrate to SQLite3 trace v2 API (GH-19581)Erlend Egeberg Aasland2020-09-051-0/+36
| | | | | Ref. https://sqlite.org/c3ref/trace_v2.html Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-41638: Improve ProgrammingError message for absent parameter. (GH-21999)Serhiy Storchaka2020-09-041-1/+1
| | | | | It contains now the name of the parameter instead of its index when parameters are supplied as a dict.
* bpo-40737: Fix possible reference leak for sqlite3 initialization (GH-20323)Erlend Egeberg Aasland2020-05-261-8/+12
|
* bpo-40268: Remove unused structmember.h includes (GH-19530)Victor Stinner2020-04-152-2/+1
| | | | | | If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used.
* bpo-40268: Remove explicit pythread.h includes (#19529)Victor Stinner2020-04-151-2/+0
| | | | Remove explicit pythread.h includes: it is always included by Python.h.
* bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. ↵Serhiy Storchaka2020-04-121-1/+1
| | | | (GH-19472)
* bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode ↵Serhiy Storchaka2020-04-111-1/+1
| | | | data. (GH-19345)
* bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. ↵Serhiy Storchaka2020-03-211-7/+22
| | | | (GH-18942)
* bpo-39245: Switch to public API for Vectorcall (GH-18460)Petr Viktorin2020-02-114-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-39573: Add Py_SET_TYPE() function (GH-18394)Victor Stinner2020-02-071-1/+1
| | | Add Py_SET_TYPE() function to set the type of an object.
* bpo-39573: Use Py_TYPE() macro in Modules directory (GH-18393)Victor Stinner2020-02-071-1/+1
| | | Replace direct access to PyObject.ob_type with Py_TYPE().
* bpo-39496: Remove redundant checks from _sqlite/cursor.c (GH-18270)Alex Henrie2020-02-011-20/+6
|
* bpo-39497: Remove unused variable from pysqlite_cursor_executescript (GH-18271)Alex Henrie2020-01-301-3/+0
|
* bpo-39494: Remove extra null terminators from kwlist vars (GH-18267)Alex Henrie2020-01-302-3/+3
|
* Replace _pysqlite_long_from_int64() with PyLong_FromLongLong() (GH-16882)Sergey Fedoseev2019-10-234-20/+3
|
* bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. ↵Serhiy Storchaka2019-09-171-31/+31
| | | | (GH-16190)
* bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155)Serhiy Storchaka2019-09-161-5/+7
|
* closes bpo-37347: Fix refcount problem in sqlite3. (GH-14268)gescheit2019-07-132-39/+45
|
* bpo-37547: add _PyObject_CallMethodOneArg (GH-14685)Jeroen Demeyer2019-07-111-4/+4
|
* bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)Jeroen Demeyer2019-07-083-6/+6
|
* bpo-37483: add _PyObject_CallOneArg() function (#14558)Jeroen Demeyer2019-07-044-16/+11
|
* bpo-37406: sqlite3 raises TypeError for wrong operation type (GH-14386)Victor Stinner2019-06-263-13/+5
| | | | | The sqlite3 module now raises TypeError, rather than ValueError, if operation argument type is not str: execute(), executemany() and calling a connection.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-0/+4
|
* bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async ↵Jeroen Demeyer2019-05-316-14/+14
| | | | | | | | | (GH-13464) Automatically replace tp_print -> tp_vectorcall_offset tp_compare -> tp_as_async tp_reserved -> tp_as_async
* bpo-30262: Don't expose private objects in sqlite3 (GH-1440)Aviv Palivoda2019-05-091-4/+0
| | | | | | The Cache and Statement objects are undocumented and implementation details of the sqlite3 module. They aren't usable from pure Python code.
* bpo-8677: use PY_SSIZE_T_CLEAN in sqlite (GH-12434)Inada Naoki2019-03-199-0/+9
| | | | Modules/_sqlite/cursor.c uses "y#" format. It didn't declare PY_SSIZE_T_CLEAN, but the argument is Py_ssize_t already.
* bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵Zackery Spytz2018-12-171-0/+4
| | | | (GH-11175)
* bpo-32788: Better error handling in sqlite3. (GH-3723)Serhiy Storchaka2018-12-105-121/+128
| | | Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user.
* bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. ↵Sergey Fedoseev2018-12-051-18/+13
| | | | (GH-8113)
* bpo-33029: Fix signatures of getter and setter functions. (GH-10746)Serhiy Storchaka2018-11-272-4/+6
| | | Fix also return type for few other functions (clear, releasebuffer).
* bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749)Serhiy Storchaka2018-11-273-11/+11
| | | | | | 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.