Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a40d066e8e 
								
							 
						 
						
							
							
								
								bpo-45677: Reword first section of sqlite3 docs (GH-29326) (GH-29567)  
							
							... 
							
							
							
							* bpo-45677: Avoid addressing the reader as 'you' in sqlite3 docs
* Adjust wording
* Adjust wording again
* Typo
* Update Doc/library/sqlite3.rst
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* Address review: adjust wording
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Lib/sqlite3/__init__.py
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Lib/sqlite3/__init__.py
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Update Doc/library/sqlite3.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Apply Alex' suggestion, and apply 80 char limit to PR
* Minor adjustment
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 6c5a312fb6 
							
						 
						
							2021-11-15 15:32:31 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d6623c3ddb 
								
							 
						 
						
							
							
								
								bpo-45612: Add sqlite3 module docstring (GH-29224) (GH-29289)  
							
							... 
							
							
							
							(cherry picked from commit 4dd1e84789 
							
						 
						
							2021-10-28 22:25:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Clauss 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4346b81cc6 
								
							 
						 
						
							
							
								
								[3.9] Fix typos in the Lib directory (GH-28775) (GH-28803)  
							
							... 
							
							
							
							Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 745c9d9dfc 
							
						 
						
							2021-10-07 08:42:38 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dab74d68e3 
								
							 
						 
						
							
							
								
								[3.9] bpo-25130: Make SQLite tests more compatible with PyPy (GH-28021) (GH-28023)  
							
							... 
							
							
							
							(cherry picked from commit 07d3d54 
							
						 
						
							2021-08-29 14:03:11 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								52702e8ba0 
								
							 
						 
						
							
							
								
								[3.9] bpo-27334: roll back transaction if sqlite3 context manager fails to commit (GH-26202) (GH-27944)  
							
							
							
						 
						
							2021-08-25 20:02:25 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c352412123 
								
							 
						 
						
							
							
								
								[3.9] bpo-44822: Don't truncate strs with embedded NULL chars returned by sqlite3 UDF callbacks (GH-27588). (GH-27639)  
							
							... 
							
							
							
							(cherry picked from commit 8f010dc920 
							
						 
						
							2021-08-07 00:02:06 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8c07fef867 
								
							 
						 
						
							
							
								
								[3.9] bpo-43853: Handle sqlite3_value_text() errors (GH-25422). (GH-27627)  
							
							... 
							
							
							
							(cherry picked from commit 006fd869e4 
							
						 
						
							2021-08-06 20:57:39 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0bc17658f5 
								
							 
						 
						
							
							
								
								[3.9] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431) (GH-27465)  
							
							... 
							
							
							
							(cherry picked from commit 7e311e496b 
							
						 
						
							2021-07-29 22:12:55 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend Egeberg Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								64a31c5c2f 
								
							 
						 
						
							
							
								
								[3.9] sqlite3 test suite now works with SQLITE_DQS=0 (GH-26032). (GH-26128)  
							
							... 
							
							
							
							(cherry picked from commit be7e467bcf 
							
						 
						
							2021-05-15 01:50:03 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								80e5732d31 
								
							 
						 
						
							
							
								
								bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530)  
							
							... 
							
							
							
							Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.htmlGH-version_3_7_15 ):
_"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
(cherry picked from commit f7f0ed59bc 
							
						 
						
							2021-01-04 15:41:03 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4ee30c4244 
								
							 
						 
						
							
							
								
								bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)  
							
							... 
							
							
							
							GH- [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)
```
(cherry picked from commit bfee9fad84 
							
						 
						
							2020-09-21 15:05:17 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f76a3889d1 
								
							 
						 
						
							
							
								
								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__()``.
(cherry picked from commit 0b419b7910 
							
						 
						
							2020-09-17 00:57:07 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8fcc1474ef 
								
							 
						 
						
							
							
								
								bpo-40784: Fix sqlite3 deterministic test (GH-20448)  
							
							... 
							
							
							
							(cherry picked from commit c610d970f5 
							
						 
						
							2020-05-29 05:46:52 -07: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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f669581a95 
								
							 
						 
						
							
							
								
								bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190)  
							
							
							
						 
						
							2019-09-17 09:20:56 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8debfa5040 
								
							 
						 
						
							
							
								
								bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155)  
							
							
							
						 
						
							2019-09-16 20:15:18 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									gescheit 
								
							 
						 
						
							
							
							
							
								
							
							
								b9a0376b0d 
								
							 
						 
						
							
							
								
								closes bpo-37347: Fix refcount problem in sqlite3. (GH-14268)  
							
							
							
						 
						
							2019-07-12 20:15:48 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c6a2320e87 
								
							 
						 
						
							
							
								
								bpo-37406: sqlite3 raises TypeError for wrong operation type (GH-14386)  
							
							... 
							
							
							
							The sqlite3 module now raises TypeError, rather than ValueError, if
operation argument type is not str: execute(), executemany() and
calling a connection. 
							
						 
						
							2019-06-26 03:16:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zackery Spytz 
								
							 
						 
						
							
							
							
							
								
							
							
								842acaab13 
								
							 
						 
						
							
							
								
								bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175)  
							
							
							
						 
						
							2018-12-17 16:52:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fc662ac332 
								
							 
						 
						
							
							
								
								bpo-32788: Better error handling in sqlite3. (GH-3723)  
							
							... 
							
							
							
							Propagate unexpected errors (like MemoryError and KeyboardInterrupt) to user. 
							
						 
						
							2018-12-10 16:06:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey Fedoseev 
								
							 
						 
						
							
							
							
							
								
							
							
								5b25f1d031 
								
							 
						 
						
							
							
								
								bpo-34052: Prevent SQLite functions from setting callbacks on exceptions. (GH-8113)  
							
							
							
						 
						
							2018-12-05 19:50:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey Fedoseev 
								
							 
						 
						
							
							
							
							
								
							
							
								0830858aee 
								
							 
						 
						
							
							
								
								bpo-34041: Allow creating deterministic functions in Connection.create_function() (GH-8086)  
							
							
							
						 
						
							2018-07-08 10:09:20 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ville Skyttä 
								
							 
						 
						
							
							
							
							
								
							
							
								61f82e0e33 
								
							 
						 
						
							
							
								
								Spelling fixes to docs, docstrings, and comments (GH-6374)  
							
							
							
						 
						
							2018-04-20 16:08:45 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Aviv Palivoda 
								
							 
						 
						
							
							
							
							
								
							
							
								bbf7bb7a63 
								
							 
						 
						
							
							
								
								bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131)  
							
							... 
							
							
							
							It was actually fixed in SQLite 3.8.8, not 3.8.7. 
							
						 
						
							2018-03-18 03:48:55 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7280a4eef5 
								
							 
						 
						
							
							
								
								bpo-27645: Skip test_bad_target_in_transaction if SQLite == 3.8.7.1 (GH-6067)  
							
							
							
						 
						
							2018-03-11 03:38:50 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Emanuele Gaifas 
								
							 
						 
						
							
							
							
							
								
							
							
								d7aed4102d 
								
							 
						 
						
							
							
								
								bpo-27645: Add support for native backup facility of SQLite (GH-4238)  
							
							
							
						 
						
							2018-03-11 01:08:31 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Simon Willison 
								
							 
						 
						
							
							
							
							
								
							
							
								4fc4defd1c 
								
							 
						 
						
							
							
								
								Remove unused var from CheckCancelOperation test (GH-4317)  
							
							... 
							
							
							
							It looks like this was copied from one of the previous tests, which did use it. 
							
						 
						
							2017-11-08 00:06:55 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Anders Lorentsen 
								
							 
						 
						
							
							
							
							
								
							
							
								a22a127458 
								
							 
						 
						
							
							
								
								bpo-31843: sqlite3.connect() now accepts PathLike objects as database name ( #4299 )  
							
							
							
						 
						
							2017-11-06 16:47:43 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oren Milman 
								
							 
						 
						
							
							
							
							
								
							
							
								edb13ae48c 
								
							 
						 
						
							
							
								
								bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor object is uninitialized ( #3958 )  
							
							
							
						 
						
							2017-11-06 16:09:49 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oren Milman 
								
							 
						 
						
							
							
							
							
								
							
							
								e56ab746a9 
								
							 
						 
						
							
							
								
								bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor.__init__() more than once ( #3968 )  
							
							
							
						 
						
							2017-11-06 16:01:47 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								a6a4dc816d 
								
							 
						 
						
							
							
								
								bpo-31370: Remove support for threads-less builds ( #3385 )  
							
							... 
							
							
							
							* Remove Setup.config
* Always define WITH_THREAD for compatibility. 
							
						 
						
							2017-09-07 18:56:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Aviv Palivoda 
								
							 
						 
						
							
							
							
							
								
							
							
								0e6cb2ea62 
								
							 
						 
						
							
							
								
								bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461)  
							
							... 
							
							
							
							conn.set_trace_callback() shouldn't be called multiple times when the
schema is changing.
This has indirectly been fixed by using sqlite3_prepare_v2() in bpo-9303. 
							
						 
						
							2017-04-09 12:11:59 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								4a926caf8e 
								
							 
						 
						
							
							
								
								bpo-28518: Start a transaction implicitly before a DML statement ( #245 )  
							
							... 
							
							
							
							Patch by Aviv Palivoda. 
							
						 
						
							2017-02-26 18:22:38 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								75d9016530 
								
							 
						 
						
							
							
								
								Issue  #29123 : Merge from 3.5  
							
							
							
						 
						
							2016-12-31 22:49:31 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								b47913f54f 
								
							 
						 
						
							
							
								
								Issue  #29123 : Make CheckSqlTimestamp more robust  
							
							
							
						 
						
							2016-12-31 22:48:55 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								22805ca54e 
								
							 
						 
						
							
							
								
								Issue  #27897 : Fixed possible crash in sqlite3.Connection.create_collation()  
							
							... 
							
							
							
							if pass invalid string-like object as a name.  Patch by Xiang Zhang. 
							
						 
						
							2016-09-27 00:14:24 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								407ac47690 
								
							 
						 
						
							
							
								
								Issue  #27897 : Fixed possible crash in sqlite3.Connection.create_collation()  
							
							... 
							
							
							
							if pass invalid string-like object as a name.  Patch by Xiang Zhang. 
							
						 
						
							2016-09-27 00:10:03 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								ab994ed8b9 
								
							 
						 
						
							
							
								
								Issue  #10740 : sqlite3 no longer implicitly commit an open transaction before DDL statements  
							
							... 
							
							
							
							This commit contains the following commits from ghaering/pysqlite:
* f254c53494796b3afe38cae87ee6863567b31bb5 
							
						 
						
							2016-09-11 12:57:15 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								4bf580d6d5 
								
							 
						 
						
							
							
								
								Issue  #21250 : Add tests for SQLite's ON CONFLICT clause  
							
							... 
							
							
							
							Initial patch by Alex LordThorsen. 
							
						 
						
							2016-09-07 02:04:34 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2891492d23 
								
							 
						 
						
							
							
								
								Issue  #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.  
							
							... 
							
							
							
							Based on patch by Xiang Zhang. 
							
						 
						
							2016-09-01 22:18:03 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								3580b03352 
								
							 
						 
						
							
							
								
								Issue  #21250 : Merge from 3.5  
							
							
							
						 
						
							2016-09-07 02:05:16 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								af0628e045 
								
							 
						 
						
							
							
								
								Issue  #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.  
							
							... 
							
							
							
							Based on patch by Xiang Zhang. 
							
						 
						
							2016-09-01 22:21:05 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								8631da64bb 
								
							 
						 
						
							
							
								
								Issue  #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory  
							
							... 
							
							
							
							creates not a cursor.  Patch by Xiang Zhang. 
							
						 
						
							2016-08-29 15:11:52 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								ef113cd4cc 
								
							 
						 
						
							
							
								
								Issue  #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory  
							
							... 
							
							
							
							creates not a cursor.  Patch by Xiang Zhang. 
							
						 
						
							2016-08-29 14:29:55 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								6ed442c48d 
								
							 
						 
						
							
							
								
								Issue  #10513 : Merge from 3.5  
							
							
							
						 
						
							2016-08-26 22:08:51 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								cc9afa9b51 
								
							 
						 
						
							
							
								
								Issue  #10513 : Fix a regression in Connection.commit()  
							
							... 
							
							
							
							Statements should not be reset after a commit.
Backported from 029050896b 
							
						 
						
							2016-08-26 22:07:51 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								d7f3cdd07d 
								
							 
						 
						
							
							
								
								Issue  #21718 : Merge from 3.5  
							
							
							
						 
						
							2016-08-21 19:41:38 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								6afe85827c 
								
							 
						 
						
							
							
								
								Issue  #21718 : cursor.description is now available for queries using CTEs  
							
							... 
							
							
							
							According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.
Backported from f67fa9c898 
							
						 
						
							2016-08-21 19:38:47 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								e0b70cd8a9 
								
							 
						 
						
							
							
								
								Issue  #16864 : Cursor.lastrowid now supports REPLACE statement  
							
							... 
							
							
							
							Initial patch by Alex LordThorsen. 
							
						 
						
							2016-06-14 15:25:36 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								f85bce74db 
								
							 
						 
						
							
							
								
								Mark tests as skipped when a SQLite version is not supported  
							
							
							
						 
						
							2016-06-14 14:19:02 +03:00