summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/test/factory.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10203: sqlite3.Row now truly supports sequence protocol. In particularSerhiy Storchaka2014-05-281-3/+31
| | | | it supports reverse() and negative indices. Original patch by Claudiu Popa.
* add missing test assertion (closes #20080)Benjamin Peterson2014-02-151-0/+1
| | | | Patch by Vajrasky Kok.
* Issue #19601: Use specific asserts in sqlite3 tests.Serhiy Storchaka2013-11-161-29/+19
|
* sqlite3: Handle strings with embedded zeros correctlyPetri Lehtinen2012-02-011-1/+40
| | | | Closes #13676.
* Merge r73838 from py3k branch. Use the nondeprecated unittest methodGregory P. Smith2009-07-041-30/+30
| | | | names.
* Applied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. TheGerhard Häring2008-05-041-0/+20
| | | | sqlite3.Row type is now correctly hashable.
* Update sqlite3 module to match current version of pysqlite.Gerhard Häring2008-03-281-1/+1
|
* Merged changes from standalone version 2.3.3. This should probably all beGerhard Häring2007-01-141-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merged into the 2.5 maintenance branch: - self->statement was not checked while fetching data, which could lead to crashes if you used the pysqlite API in unusual ways. Closing the cursor and continuing to fetch data was enough. - Converters are stored in a converters dictionary. The converter name is uppercased first. The old upper-casing algorithm was wrong and was replaced by a simple call to the Python string's upper() method instead. -Applied patch by Glyph Lefkowitz that fixes the problem with subsequent SQLITE_SCHEMA errors. - Improvement to the row type: rows can now be iterated over and have a keys() method. This improves compatibility with both tuple and dict a lot. - A bugfix for the subsecond resolution in timestamps. - Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are checked for. Now they work as documented. - gcc on Linux sucks. It exports all symbols by default in shared libraries, so if symbols are not unique it can lead to problems with symbol lookup. pysqlite used to crash under Apache when mod_cache was enabled because both modules had the symbol cache_init. I fixed this by applying the prefix pysqlite_ almost everywhere. Sigh.
* merged the sqlite-integration branch.Anthony Baxter2006-04-011-0/+164
This is based on pysqlite2.1.3, and provides a DB-API interface in the standard library. You'll need sqlite 3.2.2 or later to build this - if you have an earlier version, the C extension module will not be built.