summaryrefslogtreecommitdiff
path: root/Lib/sqlite3
AgeCommit message (Collapse)AuthorLines
2015-05-22Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka-0/+8
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
2015-03-12Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka-12/+3
Fixed 2 to 3 porting bug in pynche.ColorDB.
2014-09-11Issue #21147: sqlite3 now raises an exception if the request contains a nullSerhiy Storchaka-0/+10
character instead of truncate it. Based on patch by Victor Stinner.
2014-05-28Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulrSerhiy Storchaka-3/+25
it supports reverse() and negative indices. Original patch by Claudiu Popa.
2014-03-12merge 3.3 (#20901)Benjamin Peterson-1/+1
2014-03-12weaken callback count inequality (closes #20901)Benjamin Peterson-1/+1
2014-02-15merge 3.3 (#20080)Benjamin Peterson-0/+1
2014-02-15add missing test assertion (closes #20080)Benjamin Peterson-0/+1
Patch by Vajrasky Kok.
2013-12-19(Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalidVictor Stinner-0/+5
isolation level (wrong type).
2013-12-19Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner-0/+5
(wrong type).
2013-11-17Issue #19601: Use specific asserts in sqlite3 tests.Serhiy Storchaka-30/+20
2013-11-17Issue #19601: Use specific asserts in sqlite3 tests.Serhiy Storchaka-30/+20
2013-08-17#18741: merge with 3.3.Ezio Melotti-3/+5
2013-08-17#18741: fix more typos. Patch by Févry Thibault.Ezio Melotti-3/+5
2013-07-04Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon-2/+2
2013-06-13Issue #18200: Update the stdlib (except tests) to useBrett Cannon-2/+2
ModuleNotFoundError.
2013-02-26Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen-3/+12
2013-02-26Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen-3/+12
2013-02-26Issue #14720: Enhance sqlite3 microsecond conversion, document its behaviorPetri Lehtinen-3/+12
2013-02-23Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen-1/+18
2013-02-23Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen-1/+18
2013-02-23Issue #14720: sqlite3: Convert datetime microseconds correctlyPetri Lehtinen-2/+19
Patch by Lowe Thiderman
2013-02-10Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵Antoine Pitrou-0/+18
filename as a URI, allowing to pass custom options.
2013-02-07Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka-12/+67
2013-02-07Issue #17073: Fix some integer overflows in sqlite3 module.Serhiy Storchaka-12/+67
2013-01-10merge #13934: document sqlite version strings, use correct one in test.R David Murray-2/+2
2013-01-10#13934: document sqlite version strings, use correct one in test.R David Murray-2/+2
2013-01-10merge #15545: fix sqlite3.iterdump regression on unsortable row_factory objects.R David Murray-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.
2013-01-10#15545: fix sqlite3.iterdump regression on unsortable row_factory objects.R David Murray-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.
2012-02-21Merge branch '3.2'Petri Lehtinen-0/+18
Closes #8033.
2012-02-21sqlite3: Fix 64-bit integer handling in user functions on 32-bit architecturesPetri Lehtinen-0/+18
Closes #8033.
2012-02-17Merge branch '3.2'Petri Lehtinen-0/+1
Closes #11689.
2012-02-17Fix a variable scoping error in an sqlite3 testPetri Lehtinen-0/+1
Closes #11689.
2012-02-12Merge branch '3.2'Petri Lehtinen-22/+36
Closes #9750
2012-02-12Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotesPetri Lehtinen-22/+36
Closes #9750
2012-02-09Undocument and clean up sqlite3.OptimizedUnicodePetri Lehtinen-0/+2
Closes #13921.
2012-02-06Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Petri Lehtinen-0/+22
ProgrammingError now.
2012-02-02Make sqlite3 tests editable with EmacsPetri Lehtinen-7/+7
Change the coding declaration from ISO-8859-1 to iso-8859-1. Emacs doesn't understand the former.
2012-02-01Merge branch 3.2Petri Lehtinen-1/+43
Closes #13676.
2012-02-01sqlite3: Handle strings with embedded zeros correctlyPetri Lehtinen-1/+43
Closes #13676.
2011-05-09Issue #10811: Use TestCase.assertRaises() in the new testVictor Stinner-5/+4
2011-05-09#10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Gerhard Haering-0/+23
ProgrammingError now.
2011-04-04Fix TraceCallbackTests to not use bound parameters (followup to issue #11688)Antoine Pitrou-1/+4
2011-04-04Improve error message in testAntoine Pitrou-1/+2
2011-04-04Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten ↵Antoine Pitrou-1/+47
Landschoff.
2011-02-25Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg-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.
2010-11-20#9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti-2/+2
2010-08-30remove pointless coding cookiesFlorent Xicluna-4/+2
2010-06-01#8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.R. David Murray-0/+23
Patch by R. David Murray, unit tests by Shashwat Anand.
2010-04-28Merged revisions 80552-80556,80564-80566,80568-80571 via svnmerge fromVictor Stinner-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 ........