| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | bpo-45613: Set `sqlite3.threadsafety` dynamically (GH-29227) | Erlend Egeberg Aasland | 2021-11-03 | 1 | -0/+30 |
| | | | | | | | | | | Use the compile-time selected default SQLite threaded mode to set the DB-API 2.0 attribute 'threadsafety' Mappings: - SQLITE_THREADSAFE=0 => threadsafety=0 - SQLITE_THREADSAFE=1 => threadsafety=3 - SQLITE_THREADSAFE=2 => threadsafety=1 | ||||
| * | bpo-24139: Add support for SQLite extended result codes (GH-28076) | Erlend Egeberg Aasland | 2021-11-02 | 1 | -1/+126 |
| | | |||||
| * | bpo-42064: Adapt `sqlite3` to multi-phase init (PEP 489) (GH-29234) | Erlend Egeberg Aasland | 2021-11-02 | 1 | -20/+99 |
| | | |||||
| * | bpo-45243: Add support for setting/getting `sqlite3` connection limits ↵ | Erlend Egeberg Aasland | 2021-11-01 | 1 | -0/+15 |
| | | | | | (GH-28463) | ||||
| * | bpo-45634: Don't combine error checks when adding `sqlite3` int constants ↵ | Erlend Egeberg Aasland | 2021-10-31 | 1 | -41/+48 |
| | | | | | (GH-29251) | ||||
| * | bpo-42064: Convert `sqlite3` global state to module state (GH-29073) | Erlend Egeberg Aasland | 2021-10-27 | 1 | -14/+7 |
| | | |||||
| * | bpo-16379: expose SQLite error codes and error names in `sqlite3` (GH-27786) | Erlend Egeberg Aasland | 2021-08-30 | 1 | -2/+73 |
| | | |||||
| * | bpo-42064: Optimise `sqlite3` state access, part 1 (GH-27273) | Erlend Egeberg Aasland | 2021-07-29 | 1 | -2/+3 |
| | | | | | | | | | | | Prepare for module state: - Add "get state by defining class" and "get state by module def" stubs - Add AC defining class when needed - Add state pointer to connection context - Pass state as argument to utility functions Automerge-Triggered-By: GH:encukou | ||||
| * | bpo-42064: Finalise establishing sqlite3 global state (GH-27155) | Erlend Egeberg Aasland | 2021-07-20 | 1 | -14/+10 |
| | | | | | | | With this, all sqlite3 static globals have been moved to the global state. There are a couple of global static strings left, but there should be no need for adding them to the state. https://bugs.python.org/issue42064 | ||||
| * | bpo-42064: Move `sqlite3` exceptions to global state, part 2 of 2 (GH-26884) | Erlend Egeberg Aasland | 2021-07-14 | 1 | -36/+19 |
| | | | | Automerge-Triggered-By: GH:encukou | ||||
| * | bpo-42064: Move `sqlite3` exceptions to global state, part 1 of 2 (GH-26745) | Erlend Egeberg Aasland | 2021-06-23 | 1 | -17/+19 |
| | | | | Also adds a test to verify the (borrowed) exceptions in `sqlite3.Connection`. | ||||
| * | bpo-40956: Convert sqlite3.connect and sqlite3.Connection.__init__ to AC ↵ | Erlend Egeberg Aasland | 2021-06-20 | 1 | -42/+40 |
| | | | | | (GH-24421) | ||||
| * | bpo-42064: Move sqlite3 types to global state (GH-26537) | Erlend Egeberg Aasland | 2021-06-15 | 1 | -16/+18 |
| | | | | | | | | | | * Move connection type to global state * Move cursor type to global state * Move prepare protocol type to global state * Move row type to global state * Move statement type to global state * ADD_TYPE takes a pointer * pysqlite_get_state is now static inline | ||||
| * | bpo-42862: Use functools.lru_cache iso. _sqlite.Cache in sqlite3 module ↵ | Erlend Egeberg Aasland | 2021-06-03 | 1 | -2/+29 |
| | | | | | | (GH-24203) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> | ||||
| * | bpo-43434: Clean up sqlite3.connect() after GH-25818 (GH-25823) | Erlend Egeberg Aasland | 2021-05-02 | 1 | -8/+1 |
| | | |||||
| * | bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ ↵ | Erlend Egeberg Aasland | 2021-05-02 | 1 | -9/+0 |
| | | | | | (GH-25818) | ||||
| * | bpo-43762: Add audit events for loading of sqlite3 extensions (GH-25246) | Erlend Egeberg Aasland | 2021-04-26 | 1 | -0/+8 |
| | | |||||
| * | bpo-43505: Explicitly initialize and shutdown sqlite3 (GH-25404) | Erlend Egeberg Aasland | 2021-04-14 | 1 | -11/+14 |
| | | |||||
| * | bpo-40810: Require SQLite 3.7.15 (GH-24106) | Erlend Egeberg Aasland | 2021-01-06 | 1 | -4/+4 |
| | | |||||
| * | bpo-1635741: sqlite3 uses Py_NewRef/Py_XNewRef (GH-23170) | Erlend Egeberg Aasland | 2020-12-27 | 1 | -10/+3 |
| | | |||||
| * | bpo-42264: Deprecate sqlite3.OptimizedUnicode (GH-23163) | Erlend Egeberg Aasland | 2020-11-17 | 1 | -9/+0 |
| | | |||||
| * | bpo-1635741: _sqlite3 uses PyModule_AddObjectRef() (GH-23148) | Erlend Egeberg Aasland | 2020-11-04 | 1 | -12/+13 |
| | | |||||
| * | bpo-40956: Convert _sqlite3 module level functions to Argument Clinic (GH-22484) | Erlend Egeberg Aasland | 2020-10-31 | 1 | -70/+91 |
| | | |||||
| * | bpo-42021: Fix possible ref leaks during _sqlite3 module init (GH-22673) | Erlend Egeberg Aasland | 2020-10-15 | 1 | -126/+84 |
| | | |||||
| * | bpo-41861: Convert _sqlite3 CursorType and ConnectionType to heap types ↵ | Erlend Egeberg Aasland | 2020-10-01 | 1 | -5/+5 |
| | | | | | (GH-22478) | ||||
| * | bpo-41861: Convert _sqlite3 RowType and StatementType to heap types (GH-22444) | Erlend Egeberg Aasland | 2020-10-01 | 1 | -3/+3 |
| | | |||||
| * | bpo-41861: Convert _sqlite3 PrepareProtocolType to heap type (GH-22428) | Erlend Egeberg Aasland | 2020-09-28 | 1 | -3/+3 |
| | | |||||
| * | bpo-41861: Convert _sqlite3 cache and node static types to heap types (GH-22417) | Erlend Egeberg Aasland | 2020-09-27 | 1 | -1/+1 |
| | | |||||
| * | bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909) | Erlend Egeberg Aasland | 2020-09-07 | 1 | -18/+7 |
| | | | | | | | 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-40737: Fix possible reference leak for sqlite3 initialization (GH-20323) | Erlend Egeberg Aasland | 2020-05-26 | 1 | -8/+12 |
| | | |||||
| * | bpo-39494: Remove extra null terminators from kwlist vars (GH-18267) | Alex Henrie | 2020-01-30 | 1 | -2/+2 |
| | | |||||
| * | bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267) | Jeroen Demeyer | 2019-07-08 | 1 | -1/+1 |
| | | |||||
| * | bpo-37363: Add audit events for a range of modules (GH-14301) | Steve Dower | 2019-06-24 | 1 | -0/+4 |
| | | |||||
| * | bpo-30262: Don't expose private objects in sqlite3 (GH-1440) | Aviv Palivoda | 2019-05-09 | 1 | -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-33012: Fix invalid function cast warnings with gcc 8. (GH-6749) | Serhiy Storchaka | 2018-11-27 | 1 | -3/+3 |
| | | | | | | | 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. | ||||
| * | prefix internal sqlite symbols with _pysqlite_ (GH-8215) | Benjamin Peterson | 2018-07-10 | 1 | -7/+7 |
| | | |||||
| * | bpo-27645: Add support for native backup facility of SQLite (GH-4238) | Emanuele Gaifas | 2018-03-10 | 1 | -0/+3 |
| | | |||||
| * | closes bpo-32460: ensure all non-static globals have initializers (#5061) | Benjamin Peterson | 2017-12-31 | 1 | -11/+14 |
| | | |||||
| * | bpo-31843: sqlite3.connect() now accepts PathLike objects as database name ↵ | Anders Lorentsen | 2017-11-07 | 1 | -2/+2 |
| | | | | | (#4299) | ||||
| * | sqlite: delete some bsddb cargo-culted code to work around Python 2.3/2.4 bugs | Benjamin Peterson | 2017-09-23 | 1 | -15/+0 |
| | | |||||
| * | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -2/+0 |
| | | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
| * | 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. | ||||
| * | Issue #28985: Update authorizer constants in sqlite3 module | Berker Peksag | 2017-01-02 | 1 | -0/+13 |
| | | | | | | | | | | | | Dates and version information from the changelog: * 2006-08-12 (3.3.7) added SQLITE_CREATE_VTABLE, SQLITE_DROP_VTABLE * 2006-10-09 (3.3.8) added SQLITE_FUNCTION * 2009-01-12 (3.6.8) added SQLITE_SAVEPOINT * 2014-02-03 (3.8.3) added SQLITE_RECURSIVE Patch by Dingyuan Wang. | ||||
| * | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-06 | 1 | -1/+1 |
| | | | | | Directly pass NULL rather than an empty string. | ||||
| * | Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module | Berker Peksag | 2016-04-09 | 1 | -6/+3 |
| | | |||||
| * | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
| | | |||||
| * | Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵ | Antoine Pitrou | 2013-02-09 | 1 | -4/+12 |
| | | | | | filename as a URI, allowing to pass custom options. | ||||
| * | Undocument and clean up sqlite3.OptimizedUnicode | Petri Lehtinen | 2012-02-09 | 1 | -8/+8 |
| | | | | | Closes #13921. | ||||
| * | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -1/+1 |
| | | |||||
| * | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -1/+2 |
| | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
