Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5e48e83688 
								
							 
						 
						
							
							
								
								bpo-43294: Remove unused variables in pysqlite_connection_*() (GH-24658)  
							
							
							
						 
						
							2021-02-26 16:30:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3150754f91 
								
							 
						 
						
							
							
								
								bpo-43314: Remove SQLITE_OPEN_URI ifdef (GH-24637)  
							
							... 
							
							
							
							SQLite 3.7.15 is required as by GH-24106. SQLITE_OPEN_URI was added in
SQLite 3.7.7. 
							
						 
						
							2021-02-26 02:48:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								91ea37c84a 
								
							 
						 
						
							
							
								
								bpo-43290: Remove workaround from pysqlite_step() (GH-24638)  
							
							... 
							
							
							
							From the SQLite 3.5.3 changelog:
sqlite3_step() returns SQLITE_MISUSE instead of crashing when called
with a NULL parameter.
The workaround no longer needed because we no longer support
SQLite releases older than 3.7.15. 
							
						 
						
							2021-02-26 01:39:34 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								38b6c2acd4 
								
							 
						 
						
							
							
								
								bpo-43269: Remove redundant extern keywords (GH-24605)  
							
							
							
						 
						
							2021-02-21 12:07:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bf838a6e7e 
								
							 
						 
						
							
							
								
								bpo-43269: Clean up sqlite3 file scope (GH-24578)  
							
							
							
						 
						
							2021-02-21 02:29:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2bb0bf4dd8 
								
							 
						 
						
							
							
								
								bpo-43258: Make sqlite3 callback functions static (GH-24574)  
							
							
							
						 
						
							2021-02-19 13:59:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								979b23cbe4 
								
							 
						 
						
							
							
								
								bpo-43258: Don't allocate sqlite3 aggregate context for empty queries (GH-24569)  
							
							
							
						 
						
							2021-02-19 13:20:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cc96231f0a 
								
							 
						 
						
							
							
								
								bpo-43249: Improve scoping in _pysqlite_fetch_one_row() (GH-24565)  
							
							
							
						 
						
							2021-02-18 19:13:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								47feb1feb2 
								
							 
						 
						
							
							
								
								bpo-43249: sqlite3_column_bytes() must follow sqlite_column_blob() (GH-24562)  
							
							
							
						 
						
							2021-02-18 17:44:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ea46579067 
								
							 
						 
						
							
							
								
								bpo-40956: Fix segfault when Connection.backup is called without target (GH-24503)  
							
							
							
						 
						
							2021-02-11 01:04:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9073180db5 
								
							 
						 
						
							
							
								
								bpo-43083: Fix error handling in _sqlite3 (GH-24395)  
							
							
							
						 
						
							2021-01-31 17:42:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a330365ca5 
								
							 
						 
						
							
							
								
								bpo-40956: Fix sqlite3.Cursor.fetchmany() default value (GH-24214)  
							
							
							
						 
						
							2021-01-14 01:17:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								203b2493ae 
								
							 
						 
						
							
							
								
								bpo-40959: Remove unused declarations from sqlite3 headers (GH-20828)  
							
							
							
						 
						
							2021-01-06 02:56:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cf0b23908c 
								
							 
						 
						
							
							
								
								bpo-40810: Require SQLite 3.7.15 (GH-24106)  
							
							
							
						 
						
							2021-01-06 02:02:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c7f8d3caf0 
								
							 
						 
						
							
							
								
								bpo-40956: Convert _sqlite3.Cursor to Argument Clinic (GH-24007)  
							
							
							
						 
						
							2021-01-06 01:57:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								84d79cfda9 
								
							 
						 
						
							
							
								
								bpo-40956: Convert _sqlite3.Row to Argument Clinic (GH-23964)  
							
							
							
						 
						
							2020-12-29 15:22:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a6d63a20df 
								
							 
						 
						
							
							
								
								Fix compiler warnings regarding loss of data (GH-23983)  
							
							
							
						 
						
							2020-12-29 00:28:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								897387d2c8 
								
							 
						 
						
							
							
								
								bpo-1635741: sqlite3: Fix ref leak introduced by commit  bf64d90 (GH-23972)  
							
							
							
						 
						
							2020-12-28 03:09:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bf64d9064a 
								
							 
						 
						
							
							
								
								bpo-1635741: sqlite3 uses Py_NewRef/Py_XNewRef (GH-23170)  
							
							
							
						 
						
							2020-12-27 12:05:33 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3ccef1ca47 
								
							 
						 
						
							
							
								
								bpo-40956: Convert _sqlite3.Connection to Argument Clinic, part 2 (GH-23838)  
							
							
							
						 
						
							2020-12-27 17:32:18 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dong-hee Na 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2179349d8c 
								
							 
						 
						
							
							
								
								bpo-40956: Fix sqlite3 AC code (GH-23837)  
							
							
							
						 
						
							2020-12-19 00:41:33 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1ba82bbc50 
								
							 
						 
						
							
							
								
								bpo-40956: Convert _sqlite3.Connection to Argument Clinic (GH-23341)  
							
							
							
						 
						
							2020-12-18 23:25:35 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a1f401a58b 
								
							 
						 
						
							
							
								
								bpo-42264: Deprecate sqlite3.OptimizedUnicode (GH-23163)  
							
							
							
						 
						
							2020-11-17 17:55:12 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2ffba2a102 
								
							 
						 
						
							
							
								
								bpo-41861, _sqlite3 : Add NEWS entry and rename variables (GH-23337)  
							
							
							
						 
						
							2020-11-17 13:52:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								789359f47c 
								
							 
						 
						
							
							
								
								bpo-1635741: _sqlite3 uses PyModule_AddObjectRef() (GH-23148)  
							
							
							
						 
						
							2020-11-04 20:31:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7d21027157 
								
							 
						 
						
							
							
								
								bpo-40956: Convert _sqlite3 module level functions to Argument Clinic (GH-22484)  
							
							
							
						 
						
							2020-10-31 15:07:44 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								644e94272a 
								
							 
						 
						
							
							
								
								bpo-42021: Fix possible ref leaks during _sqlite3 module init (GH-22673)  
							
							
							
						 
						
							2020-10-15 21:20:15 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								256e54acdb 
								
							 
						 
						
							
							
								
								bpo-41861: Convert _sqlite3 CursorType and ConnectionType to heap types (GH-22478)  
							
							
							
						 
						
							2020-10-01 16:03:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9031bd4fa4 
								
							 
						 
						
							
							
								
								bpo-41861: Convert _sqlite3 RowType and StatementType to heap types (GH-22444)  
							
							
							
						 
						
							2020-10-01 15:24:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cb6db8b6ae 
								
							 
						 
						
							
							
								
								bpo-41861: Convert _sqlite3 PrepareProtocolType to heap type (GH-22428)  
							
							
							
						 
						
							2020-09-29 00:05:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a937ab45d6 
								
							 
						 
						
							
							
								
								bpo-41861: Convert _sqlite3 cache and node static types to heap types (GH-22417)  
							
							
							
						 
						
							2020-09-27 14:14:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter McCormick 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bfee9fad84 
								
							 
						 
						
							
							
								
								bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)  
							
							... 
							
							
							
							# [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)
``` 
							
						 
						
							2020-09-19 20:40:46 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0b419b7910 
								
							 
						 
						
							
							
								
								bpo-41662: Fix bugs in binding parameters in sqlite3 (GH-21998)  
							
							... 
							
							
							
							* 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__()``. 
							
						 
						
							2020-09-17 10:35:44 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								207c321f13 
								
							 
						 
						
							
							
								
								bpo-40744: Drop support for SQLite pre 3.7.3 (GH-20909)  
							
							... 
							
							
							
							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> 
							
						 
						
							2020-09-07 22:26:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7f331c898a 
								
							 
						 
						
							
							
								
								bpo-40318: Migrate to SQLite3 trace v2 API (GH-19581)  
							
							... 
							
							
							
							Ref. https://sqlite.org/c3ref/trace_v2.html 
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 
							
						 
						
							2020-09-05 21:43:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8171580871 
								
							 
						 
						
							
							
								
								bpo-41638: Improve ProgrammingError message for absent parameter. (GH-21999)  
							
							... 
							
							
							
							It contains now the name of the parameter instead of its index when parameters
are supplied as a dict. 
							
						 
						
							2020-09-04 20:55:41 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5eb45d7d4e 
								
							 
						 
						
							
							
								
								bpo-40737: Fix possible reference leak for sqlite3 initialization (GH-20323)  
							
							
							
						 
						
							2020-05-26 21:18:19 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4a21e57fe5 
								
							 
						 
						
							
							
								
								bpo-40268: Remove unused structmember.h includes (GH-19530)  
							
							... 
							
							
							
							If only offsetof() is needed: include stddef.h instead.
When structmember.h is used, add a comment explaining that
PyMemberDef is used. 
							
						 
						
							2020-04-15 02:35:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								62183b8d6d 
								
							 
						 
						
							
							
								
								bpo-40268: Remove explicit pythread.h includes ( #19529 )  
							
							... 
							
							
							
							Remove explicit pythread.h includes: it is always included
by Python.h. 
							
						 
						
							2020-04-15 02:04:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8f87eefe7f 
								
							 
						 
						
							
							
								
								bpo-39943: Add the const qualifier to pointers on non-mutable PyBytes data. (GH-19472)  
							
							
							
						 
						
							2020-04-12 14:58:27 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cd8295ff75 
								
							 
						 
						
							
							
								
								bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode data. (GH-19345)  
							
							
							
						 
						
							2020-04-11 10:48:40 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b146568dfc 
								
							 
						 
						
							
							
								
								bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. (GH-18942)  
							
							
							
						 
						
							2020-03-21 15:53:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Viktorin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ffd9753a94 
								
							 
						 
						
							
							
								
								bpo-39245: Switch to public API for Vectorcall (GH-18460)  
							
							... 
							
							
							
							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 
							
						 
						
							2020-02-11 17:46:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d2ec81a8c9 
								
							 
						 
						
							
							
								
								bpo-39573: Add Py_SET_TYPE() function (GH-18394)  
							
							... 
							
							
							
							Add Py_SET_TYPE() function to set the type of an object. 
							
						 
						
							2020-02-07 09:17:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								daa9756cb6 
								
							 
						 
						
							
							
								
								bpo-39573: Use Py_TYPE() macro in Modules directory (GH-18393)  
							
							... 
							
							
							
							Replace direct access to PyObject.ob_type with Py_TYPE(). 
							
						 
						
							2020-02-07 03:37:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alex Henrie 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								78c7183f47 
								
							 
						 
						
							
							
								
								bpo-39496: Remove redundant checks from _sqlite/cursor.c (GH-18270)  
							
							
							
						 
						
							2020-02-01 23:45:34 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alex Henrie 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1f44e775df 
								
							 
						 
						
							
							
								
								bpo-39497: Remove unused variable from pysqlite_cursor_executescript (GH-18271)  
							
							
							
						 
						
							2020-01-30 12:39:25 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alex Henrie 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								188bb5b1e8 
								
							 
						 
						
							
							
								
								bpo-39494: Remove extra null terminators from kwlist vars (GH-18267)  
							
							
							
						 
						
							2020-01-30 07:12:53 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey Fedoseev 
								
							 
						 
						
							
							
							
							
								
							
							
								b6f5b9dd21 
								
							 
						 
						
							
							
								
								Replace _pysqlite_long_from_int64() with PyLong_FromLongLong() (GH-16882)  
							
							
							
						 
						
							2019-10-23 11:09:01 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f669581a95 
								
							 
						 
						
							
							
								
								bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190)  
							
							
							
						 
						
							2019-09-17 09:20:56 +03:00