summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge branch '3.2'Petri Lehtinen2012-02-122-22/+36
|\ \ | |/ | | | | Closes #9750
| * Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotesPetri Lehtinen2012-02-122-22/+36
| | | | | | | | Closes #9750
| * Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Petri Lehtinen2012-02-061-0/+22
| | | | | | | | ProgrammingError now.
* | Undocument and clean up sqlite3.OptimizedUnicodePetri Lehtinen2012-02-091-0/+2
| | | | | | | | Closes #13921.
* | Make sqlite3 tests editable with EmacsPetri Lehtinen2012-02-027-7/+7
| | | | | | | | | | Change the coding declaration from ISO-8859-1 to iso-8859-1. Emacs doesn't understand the former.
* | Merge branch 3.2Petri Lehtinen2012-02-012-1/+43
|\ \ | |/ | | | | Closes #13676.
| * sqlite3: Handle strings with embedded zeros correctlyPetri Lehtinen2012-02-012-1/+43
| | | | | | | | Closes #13676.
* | Issue #10811: Use TestCase.assertRaises() in the new testVictor Stinner2011-05-091-5/+4
| |
* | #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Gerhard Haering2011-05-091-0/+23
| | | | | | | | ProgrammingError now.
* | Fix TraceCallbackTests to not use bound parameters (followup to issue #11688)Antoine Pitrou2011-04-031-1/+4
| |
* | Improve error message in testAntoine Pitrou2011-04-031-1/+2
| |
* | Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten ↵Antoine Pitrou2011-04-031-1/+47
| | | | | | | | Landschoff.
* | Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg2011-02-251-1/+1
|/ | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-202-2/+2
|
* remove pointless coding cookiesFlorent Xicluna2010-08-302-4/+2
|
* #8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.R. David Murray2010-06-011-0/+23
| | | | Patch by R. David Murray, unit tests by Shashwat Anand.
* Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge fromVictor Stinner2010-04-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80552 | victor.stinner | 2010-04-27 23:46:03 +0200 (mar., 27 avril 2010) | 3 lines Issue #7449, part 1: fix test_support.py for Python compiled without thread ........ r80553 | victor.stinner | 2010-04-27 23:47:01 +0200 (mar., 27 avril 2010) | 1 line Issue #7449, part 2: regrtest.py -j option requires thread support ........ r80554 | victor.stinner | 2010-04-27 23:51:26 +0200 (mar., 27 avril 2010) | 9 lines Issue #7449 part 3, test_doctest: import trace module in test_coverage() Import trace module fail if the threading module is missing. test_coverage() is only used if test_doctest.py is used with the -c option. This commit allows to execute the test suite without thread support. Move "import trace" in test_coverage() and use test_support.import_module('trace'). ........ r80555 | victor.stinner | 2010-04-27 23:56:26 +0200 (mar., 27 avril 2010) | 6 lines Issue #7449, part 4: skip test_multiprocessing if thread support is disabled import threading after _multiprocessing to raise a more revelant error message: "No module named _multiprocessing". _multiprocessing is not compiled without thread support. ........ r80556 | victor.stinner | 2010-04-28 00:01:24 +0200 (mer., 28 avril 2010) | 8 lines Issue #7449, part 5: split Test.test_open() of ctypes/test/test_errno.py * Split Test.test_open() in 2 functions: test_open() and test_thread_open() * Skip test_open() and test_thread_open() if we are unable to find the C library * Skip test_thread_open() if thread support is disabled * Use unittest.skipUnless(os.name == "nt", ...) on test_GetLastError() ........ r80564 | victor.stinner | 2010-04-28 00:59:35 +0200 (mer., 28 avril 2010) | 4 lines Issue #7449, part 6: fix test_hashlib for missing threading module Move @test_support.reap_thread decorator from test_main() to test_threaded_hashing(). ........ r80565 | victor.stinner | 2010-04-28 01:01:29 +0200 (mer., 28 avril 2010) | 6 lines Issue #7449, part 7: simplify threading detection in test_capi * Skip TestPendingCalls if threading module is missing * Test if threading module is present or not, instead of test the presence of _testcapi._test_thread_state ........ r80566 | victor.stinner | 2010-04-28 01:03:16 +0200 (mer., 28 avril 2010) | 4 lines Issue #7449, part 8: don't skip the whole test_asynchat if threading is missing TestFifo can be executed without the threading module ........ r80568 | victor.stinner | 2010-04-28 01:14:58 +0200 (mer., 28 avril 2010) | 6 lines Issue #7449, part 9: fix test_xmlrpclib for missing threading module * Skip testcases using threads if threading module is missing * Use "http://" instead of URL in ServerProxyTestCase if threading is missing because URL is not set in this case ........ r80569 | victor.stinner | 2010-04-28 01:33:58 +0200 (mer., 28 avril 2010) | 6 lines Partial revert of r80556 (Issue #7449, part 5, fix ctypes test) Rewrite r80556: the thread test have to be executed just after the test on libc_open() and so the test cannot be splitted in two functions (without duplicating code, and I don't want to duplicate code). ........ r80570 | victor.stinner | 2010-04-28 01:51:16 +0200 (mer., 28 avril 2010) | 8 lines Issue #7449, part 10: test_cmd imports trace module using test_support.import_module() Use test_support.import_module() instead of import to raise a SkipTest exception if the import fail. Import trace fails if the threading module is missing. See also part 3: test_doctest: import trace module in test_coverage(). ........ r80571 | victor.stinner | 2010-04-28 01:55:59 +0200 (mer., 28 avril 2010) | 6 lines Issue #7449, last part (11): fix many tests if thread support is disabled * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads ........