Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python-2.5.1-sqlite-encoding.patch | Fedora Python maintainers | 2020-09-29 | 2 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | 00007 # This patch was listed in the changelog as: * Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11 - fix encoding of sqlite .py files to work around weird encoding problem in Turkish (#283331) A traceback attached to rhbz 244016 shows the problem most clearly: a traceback on attempting to import the sqlite module, with: "SyntaxError: encoding problem: with BOM (__init__.py, line 1)" This seems to come from Parser/tokenizer.c:check_coding_spec Our patch changes two source files within sqlite3, removing the "coding: ISO-8859-1" specs and character E4 = U+00E4 = LATIN SMALL LETTER A WITH DIAERESIS from in ghaering's surname. It may be that the conversion of "ISO-8859-1" to "iso-8859-1" is thwarted by the implementation of "tolower" in the Turkish locale; see: https://bugzilla.redhat.com/show_bug.cgi?id=191096#c9 TODO: Not yet sent upstream, and appears to me (dmalcolm 2010-01-29) that it may be papering over a symptom | ||||
* | [2.7] bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. ↵ | Serhiy Storchaka | 2019-09-17 | 1 | -7/+12 |
| | | | | | | (GH-16155). (GH-16215) (cherry picked from commit 8debfa50407107ff2329d01081cdc12d359f1d12) | ||||
* | bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. ↵ | Zackery Spytz | 2018-12-20 | 1 | -0/+4 |
| | | | | | (GH-11175) (GH-11249) (cherry picked from commit 842acaab1376c5c84fd5966bb6070e289880e1ca) | ||||
* | [2.7] bpo-34052: Prevent SQLite functions from setting callbacks on ↵ | Serhiy Storchaka | 2018-12-05 | 1 | -19/+65 |
| | | | | | | | | | exceptions. (GH-8113). (GH-10946) (GH-10955) (cherry picked from commit 5b25f1d03100e2283c1b129d461ba68ac0169a14) (cherry picked from commit 1de91a0032fed500ddd3d8c4fb7a38c0b8719f67) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>. | ||||
* | bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor ↵ | Oren Milman | 2017-11-08 | 1 | -0/+3 |
| | | | | object is uninitialized (GH-4333) | ||||
* | bpo-31770: Prevent a crash and refleaks when calling ↵ | Miss Islington (bot) | 2017-11-07 | 1 | -0/+18 |
| | | | | | sqlite3.Cursor.__init__() more than once (GH-3968) (#4302) (cherry picked from commit e56ab746a965277ffcc4396d8a0902b6e072d049) | ||||
* | revert dd13098a5dc2 (#29006, #10513) | Benjamin Peterson | 2017-01-16 | 1 | -0/+30 |
| | |||||
* | revert 030e100f048a (#29006, #10513) | Benjamin Peterson | 2017-01-12 | 1 | -30/+0 |
| | |||||
* | Issue #29123: Make CheckSqlTimestamp more robust | Berker Peksag | 2016-12-31 | 1 | -2/+1 |
| | |||||
* | Issue #27897: Backported tests. | Serhiy Storchaka | 2016-09-26 | 1 | -0/+22 |
| | |||||
* | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -3/+17 |
| | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
* | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | 2016-08-26 | 1 | -0/+30 |
| | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa | ||||
* | English spelling and grammar fixes | Martin Panter | 2016-07-11 | 1 | -1/+1 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 |
| | |||||
* | Issue #24257: Fixed segmentation fault in sqlite3.Row constructor with faked | Serhiy Storchaka | 2015-05-22 | 1 | -0/+8 |
| | | | | cursor type. | ||||
* | Issue #21147: sqlite3 now raises an exception if the request contains a null | Serhiy Storchaka | 2014-09-11 | 1 | -0/+10 |
| | | | | character instead of truncate it. Based on patch by Victor Stinner. | ||||
* | Issue #22340: Fix Python 3 warnings in Python 2 tests | Victor Stinner | 2014-09-05 | 3 | -11/+23 |
| | |||||
* | Issue #10203: sqlite3.Row now truly supports sequence protocol. In particular | Serhiy Storchaka | 2014-05-28 | 2 | -3/+33 |
| | | | | it supports reverse() and negative indices. Original patch by Claudiu Popa. | ||||
* | weaken callback count inequality (closes #20901) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
| | |||||
* | add missing test assertion (closes #20080) | Benjamin Peterson | 2014-02-15 | 1 | -0/+1 |
| | | | | Patch by Vajrasky Kok. | ||||
* | Issue #20026: Fix the sqlite module to handle correctly invalid isolation level | Victor Stinner | 2013-12-19 | 1 | -0/+5 |
| | | | | (wrong type). | ||||
* | Issue #19601: Use specific asserts in sqlite3 tests. | Serhiy Storchaka | 2013-11-16 | 2 | -30/+20 |
| | |||||
* | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 2 | -3/+5 |
| | |||||
* | Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior | Petri Lehtinen | 2013-02-26 | 2 | -4/+13 |
| | |||||
* | Issue #14720: sqlite3: Convert datetime microseconds correctly | Petri Lehtinen | 2013-02-23 | 2 | -2/+19 |
| | | | | Patch by Lowe Thiderman | ||||
* | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 2 | -12/+67 |
| | |||||
* | #15109: revert '%'->'format' changes in 4b105d328fe7 to fix regression. | R David Murray | 2013-01-11 | 2 | -3/+5 |
| | | | | | | | With '%', non-ascii worked because the '%' automatically got promoted to unicode. With format that doesn't happen, which led to encoding errors. This fix goes back to using %, and adds a test to make sure non-ascii string values work in iterdump. | ||||
* | #15545: sort iterdump via SQL instead of in python code | R David Murray | 2013-01-10 | 2 | -1/+23 |
| | | | | | | | | | | | | Although there is not a regression in Python2, we make the same update here to keep the code bases in sync. (The fix for issue 9750 introduced a regression in Python 3 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. | ||||
* | sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures | Petri Lehtinen | 2012-02-21 | 1 | -0/+18 |
| | | | | Closes #8033. | ||||
* | Fix a variable scoping error in an sqlite3 test | Petri Lehtinen | 2012-02-17 | 1 | -3/+3 |
| | | | | | | Initial patch by Torsten Landschoff. Closes #11689. | ||||
* | Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes | Petri Lehtinen | 2012-02-12 | 2 | -22/+36 |
| | | | | Closes #9750 | ||||
* | Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵ | Petri Lehtinen | 2012-02-06 | 1 | -0/+22 |
| | | | | ProgrammingError now. | ||||
* | sqlite3: Handle strings with embedded zeros correctly | Petri Lehtinen | 2012-02-01 | 2 | -1/+47 |
| | | | | Closes #13676. | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 2 | -3/+3 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Issue #7449, last part (11): fix many tests if thread support is disabled | Victor Stinner | 2010-04-27 | 1 | -1/+5 |
| | | | | | | * Use try/except ImportError or test_support.import_module() to import thread and threading modules * Add @unittest.skipUnless(threading, ...) to testcases using threads | ||||
* | sqlite3: Fix a segfault on calling a connection with something else than a | Victor Stinner | 2010-03-13 | 1 | -7/+12 |
| | | | | | | | | string. Initialize all attributes to be able to call the statement destructor on error. Avoid also a duplicate connection in some tests: setUp() does already open a connection (":memory:"). | ||||
* | Merged code from pysqlite 2.6.0. | Gerhard Häring | 2010-03-05 | 4 | -17/+252 |
| | |||||
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 2 | -5/+5 |
| | |||||
* | #6026 - fix tests that failed without zlib | Ezio Melotti | 2009-09-12 | 1 | -1/+7 |
| | |||||
* | Merge r73838 from py3k branch. Use the nondeprecated unittest method | Gregory P. Smith | 2009-07-04 | 8 | -155/+155 |
| | | | | names. | ||||
* | Remove usage of apply() in sqlite3 to silence warnings under -3. | Brett Cannon | 2008-08-04 | 1 | -3/+3 |
| | |||||
* | #3312: fix two sqlite3 crashes. | Georg Brandl | 2008-07-16 | 1 | -0/+14 |
| | |||||
* | Fixed rowcount for SELECT statements. They're -1 now (again), for better ↵ | Gerhard Häring | 2008-05-31 | 1 | -0/+9 |
| | | | | DB-API 2.0 compliance. | ||||
* | Implemented feature request 2157: Converter names are cut off at '(' | Gerhard Häring | 2008-05-04 | 1 | -1/+16 |
| | | | | | | characters. This avoids the common case of something like 'NUMBER(10)' not being parsed as 'NUMBER', like expected. Also corrected the docs about converter names being case-sensitive. They aren't any longer. | ||||
* | Applied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. The | Gerhard Häring | 2008-05-04 | 1 | -0/+20 |
| | | | | sqlite3.Row type is now correctly hashable. | ||||
* | Prevent test_sqlite from hanging on older versions of sqlite. | Neal Norwitz | 2008-04-05 | 1 | -0/+8 |
| | | | | | | | | | | The problem is that when trying to do the second insert, sqlite seems to sleep for a very long time. Here is the output from strace: read(6, "SQLite format 3\0\4\0\1\1\0@ \0\0\0\1\0\0\0\0"..., 1024) = 1024 nanosleep({4294, 966296000}, <unfinished ...> I don't know which version this was fixed in, but 3.2.1 definitely fails. | ||||
* | These svn adds were forgotten in r62000 | Gregory P. Smith | 2008-03-28 | 2 | -0/+115 |
| | |||||
* | Update sqlite3 module to match current version of pysqlite. | Gerhard Häring | 2008-03-28 | 2 | -2/+2 |
| | |||||
* | Catch OSError when trying to remove a file in case removal fails. This | Neal Norwitz | 2008-03-05 | 1 | -2/+5 |
| | | | | should prevent a failure in tearDown masking any real test failure. | ||||
* | Made sqlite3 module's regression tests work with SQLite versions that don't | Gerhard Häring | 2008-03-02 | 1 | -2/+3 |
| | | | | support "create table if not exists", yet. |