summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29123: Make CheckSqlTimestamp more robustBerker Peksag2016-12-311-2/+1
|
* Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()Serhiy Storchaka2016-09-261-0/+22
| | | | if pass invalid string-like object as a name. Patch by Xiang Zhang.
* Issue #21250: Add tests for SQLite's ON CONFLICT clauseBerker Peksag2016-09-061-1/+100
| | | | Initial patch by Alex LordThorsen.
* Issue #27881: Fixed possible bugs when setting ↵Serhiy Storchaka2016-09-011-4/+27
| | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang.
* Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factorySerhiy Storchaka2016-08-291-3/+17
| | | | creates not a cursor. Patch by Xiang Zhang.
* Issue #10513: Fix a regression in Connection.commit()Berker Peksag2016-08-261-0/+31
| | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa
* Issue #21718: cursor.description is now available for queries using CTEsBerker Peksag2016-08-211-1/+41
| | | | | | | | | | 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.
* Mark tests as skipped when a SQLite version is not supportedBerker Peksag2016-06-144-16/+9
|
* Remove empty setUp and tearDown methods from sqlite3 testsBerker Peksag2016-06-142-18/+0
| | | | | They are not used as base classes by another tests so they can safely be removed.
* Replace more boilerplate code with modern unittest features in sqlite3 testsBerker Peksag2016-06-133-13/+6
|
* Modernize sqlite3 testsBerker Peksag2016-06-126-257/+62
| | | | | Update current tests that use old pattern with assertRaises to make them more maintainable.
* Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1Berker Peksag2016-06-121-0/+6
| | | | Patch by Dave Sawyer.
* Issue #27188: Fix various sqlite3 documentation errorsBerker Peksag2016-06-121-0/+12
| | | | | | | | | | | * Connection.execute* methods don't create intermediate cursor objects * Fix description of seq_of_parameters parameter * Clarify that Warning is sqlite3.Warning * sql_script parameter of Cursor.executescript() doesn't accept bytes * Add missing tests * Fix various markup errors Initial patch by Dave Sawyer.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Issue #23758: Improve num_params docs of create_{function,aggregate} functionsBerker Peksag2016-03-271-0/+31
| | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.
* Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka2015-05-221-0/+8
|\ | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
| * Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka2015-05-221-0/+8
| | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
* | Issue #13583: sqlite3.Row now supports slice indexing.Serhiy Storchaka2015-03-311-0/+18
|/ | | | Tests by Jessica McKellar.
* Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-12/+3
| | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka2014-09-111-0/+10
| | | | character instead of truncate it. Based on patch by Victor Stinner.
* Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulrSerhiy Storchaka2014-05-282-3/+25
| | | | it supports reverse() and negative indices. Original patch by Claudiu Popa.
* merge 3.3 (#20901)Benjamin Peterson2014-03-131-1/+1
|\
| * weaken callback count inequality (closes #20901)Benjamin Peterson2014-03-131-1/+1
| |
* | merge 3.3 (#20080)Benjamin Peterson2014-02-151-0/+1
|\ \ | |/
| * add missing test assertion (closes #20080)Benjamin Peterson2014-02-151-0/+1
| | | | | | | | Patch by Vajrasky Kok.
* | (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalidVictor Stinner2013-12-191-0/+5
|\ \ | |/ | | | | isolation level (wrong type).
| * Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner2013-12-191-0/+5
| | | | | | | | (wrong type).
* | Issue #19601: Use specific asserts in sqlite3 tests.Serhiy Storchaka2013-11-162-30/+20
|\ \ | |/
| * Issue #19601: Use specific asserts in sqlite3 tests.Serhiy Storchaka2013-11-162-30/+20
| |
* | #18741: merge with 3.3.Ezio Melotti2013-08-172-3/+5
|\ \ | |/
| * #18741: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-172-3/+5
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-042-2/+2
| |
* | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-142-2/+2
| | | | | | | | ModuleNotFoundError.
* | Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen2013-02-262-3/+12
|\ \ | |/
| * Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen2013-02-262-3/+12
| |\
| | * Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen2013-02-262-3/+12
| | |
* | | Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen2013-02-232-1/+18
|\ \ \ | |/ /
| * | Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen2013-02-232-1/+18
| |\ \ | | |/
| | * Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen2013-02-232-2/+19
| | | | | | | | | | | | Patch by Lowe Thiderman
* | | Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵Antoine Pitrou2013-02-091-0/+18
|/ / | | | | | | filename as a URI, allowing to pass custom options.
* | Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-072-12/+67
|\ \ | |/
| * Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka2013-02-072-12/+67
| |
* | merge #13934: document sqlite version strings, use correct one in test.R David Murray2013-01-111-2/+2
|\ \ | |/
| * #13934: document sqlite version strings, use correct one in test.R David Murray2013-01-111-2/+2
| |
* | merge #15545: fix sqlite3.iterdump regression on unsortable row_factory objects.R David Murray2013-01-102-1/+23
|\ \ | |/ | | | | | | | | | | | | | | The fix for issue 9750 introduced a regression by sorting the row objects returned by fetchall. But if a row_factory such as sqlite3.Row is used, the rows may not be sortable (in Python3), which leads to an exception. The sorting is still a nice idea, so the patch moves the sort into the sql. Fix and test by Peter Otten.
| * #15545: fix sqlite3.iterdump regression on unsortable row_factory objects.R David Murray2013-01-102-1/+23
| | | | | | | | | | | | | | | | | | The fix for issue 9750 introduced a regression by sorting the row objects returned by fetchall. But if a row_factory such as sqlite3.Row is used, the rows may not be sortable (in Python3), which leads to an exception. The sorting is still a nice idea, so the patch moves the sort into the sql. Fix and test by Peter Otten.
* | Merge branch '3.2'Petri Lehtinen2012-02-211-0/+18
|\ \ | |/ | | | | Closes #8033.
| * sqlite3: Fix 64-bit integer handling in user functions on 32-bit architecturesPetri Lehtinen2012-02-211-0/+18
| | | | | | | | Closes #8033.
* | Merge branch '3.2'Petri Lehtinen2012-02-171-0/+1
|\ \ | |/ | | | | Closes #11689.
| * Fix a variable scoping error in an sqlite3 testPetri Lehtinen2012-02-171-0/+1
| | | | | | | | Closes #11689.