Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #21147: sqlite3 now raises an exception if the request contains a null | Serhiy Storchaka | 2014-09-11 | 2 | -1/+6 |
| | | | | character instead of truncate it. Based on patch by Victor Stinner. | ||||
* | Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular | Serhiy Storchaka | 2014-08-06 | 1 | -11/+17 |
| | | | | | when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the __new__() method. | ||||
* | Issue #21858: Better handling of Python exceptions in the sqlite3 module. | Victor Stinner | 2014-06-26 | 1 | -16/+26 |
| | |||||
* | Issue #10203: sqlite3.Row now truly supports sequence protocol. In particulr | Serhiy Storchaka | 2014-05-28 | 1 | -2/+22 |
| | | | | it supports reverse() and negative indices. Original patch by Claudiu Popa. | ||||
* | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -6/+3 |
|\ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -6/+3 |
| | | |||||
* | | (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalid | Victor Stinner | 2013-12-19 | 1 | -1/+4 |
|\ \ | |/ | | | | | isolation level (wrong type). | ||||
| * | Issue #20026: Fix the sqlite module to handle correctly invalid isolation level | Victor Stinner | 2013-12-19 | 1 | -1/+4 |
| | | | | | | | | (wrong type). | ||||
* | | sqlite: Use Py_ssize_t to store a size instead of an int | Victor Stinner | 2013-11-18 | 1 | -2/+4 |
| | | | | | | | | Fix a compiler warning on Windows 64-bit | ||||
* | | sqlite: raise an OverflowError if a string or a BLOB is longer than INT_MAX | Victor Stinner | 2013-11-18 | 1 | -8/+16 |
| | | | | | | | | | | | | bytes Fix compiler warnings on Windows 64-bit | ||||
* | | Fix a compiler warning on Windows 64-bit: _sqlite module | Victor Stinner | 2013-11-18 | 1 | -4/+9 |
| | | |||||
* | | sqlite: raise an OverflowError if the result is longer than INT_MAX bytes | Victor Stinner | 2013-11-18 | 1 | -2/+8 |
| | | | | | | | | Fix a compiler warning on Windows 64-bit | ||||
* | | Issue #19514: Deduplicate some _Py_IDENTIFIER declarations. | Martin v. Löwis | 2013-11-07 | 1 | -3/+2 |
| | | | | | | | | Patch by Andrei Dorian Duma. | ||||
* | | Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, when the row factory | Victor Stinner | 2013-11-05 | 1 | -0/+5 |
| | | | | | | | | | | fails, don't consume the row (restore it) and fail immediatly (don't call pysqlite_step()) | ||||
* | | Issue #19437: Fix pysqlite_connection_call() of sqlite3, return NULL when | Victor Stinner | 2013-11-05 | 1 | -17/+13 |
| | | | | | | | | PyList_Append() fails | ||||
* | | Issue #19437: Fix pysqlite_cursor_iternext() of sqlite3, handle | Victor Stinner | 2013-11-05 | 1 | -0/+6 |
| | | | | | | | | _pysqlite_fetch_one_row() failure | ||||
* | | Issue #1772673: The type of `char*` arguments now changed to `const char*`. | Serhiy Storchaka | 2013-10-19 | 1 | -1/+1 |
| | | |||||
* | | (Merge 3.3) Fix compilation of the _sqlite module if threads are disabled | Victor Stinner | 2013-08-27 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Fix compilation of the _sqlite module if threads are disabled | Victor Stinner | 2013-08-27 | 1 | -0/+3 |
| | | |||||
* | | Issue #18701: Remove sqlitecompat.h. | Serhiy Storchaka | 2013-08-16 | 1 | -63/+0 |
| | | |||||
* | | Issue #18701: Remove support of old CPython versions (<3.0) from C code. | Serhiy Storchaka | 2013-08-16 | 6 | -6/+0 |
| | | |||||
* | | Issue #18519: Fix test_sqlite on old versions of libsqlite3 | Victor Stinner | 2013-08-01 | 1 | -3/+12 |
| | | | | | | | | | | With old SQLite versions, _sqlite3_result_error() sets a new Python exception, so don't restore the previous exception. | ||||
* | | Issue #18519: the Python authorizer callback of sqlite3 must not raise ↵ | Victor Stinner | 2013-07-26 | 1 | -21/+20 |
| | | | | | | | | | | | | | | Python exceptions The exception is printed if sqlite3.enable_callback_tracebacks(True) has been called, otherwise the exception is cleared. | ||||
* | | Issue #18488: Fix _pysqlite_final_callback() | Victor Stinner | 2013-07-22 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | Restore behaviour of Python 3.3: print the finalizer() error if sqlite3.enable_callback_tracebacks() has been called, clear the error otherwise. But keep (save/restore) also the AttributeError raised in _pysqlite_step_callback(). | ||||
* | | Issue #18519, #18408: Fix sqlite authorizer callback | Victor Stinner | 2013-07-21 | 1 | -15/+23 |
| | | | | | | | | | | If a previous call to the authorizer callback failed and raised an exception, don't call the Python authorizer callback, but just return SQLITE_DENY. | ||||
* | | Issue #18408: Fix _pysqlite_fetch_one_row(), in debug mode, don't call | Victor Stinner | 2013-07-17 | 1 | -0/+5 |
| | | | | | | | | type_call() with an exception set | ||||
* | | Issue #18488: _pysqlite_final_callback() should not clear the exception set by | Victor Stinner | 2013-07-17 | 1 | -0/+9 |
| | | | | | | | | the last call to the step() method of a user function | ||||
* | | Fix compilater warnings on Windows 64-bit | Victor Stinner | 2013-05-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, | Serhiy Storchaka | 2013-04-28 | 3 | -7/+7 |
|\ \ | |/ | | | | | such as was shipped with Centos 5 and Mac OS X 10.4. | ||||
| * | Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, | Serhiy Storchaka | 2013-04-28 | 3 | -7/+7 |
| | | | | | | | | such as was shipped with Centos 5 and Mac OS X 10.4. | ||||
* | | Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵ | Antoine Pitrou | 2013-02-09 | 2 | -7/+33 |
|/ | | | | filename as a URI, allowing to pass custom options. | ||||
* | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 5 | -49/+127 |
|\ | |||||
| * | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 5 | -49/+127 |
| | | |||||
* | | Merge branch '3.2' | Petri Lehtinen | 2012-02-21 | 1 | -6/+2 |
|\ \ | |/ | | | | | Closes #8033. | ||||
| * | sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures | Petri Lehtinen | 2012-02-21 | 1 | -6/+2 |
| | | | | | | | | Closes #8033. | ||||
| * | Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵ | Petri Lehtinen | 2012-02-06 | 2 | -10/+20 |
| | | | | | | | | ProgrammingError now. | ||||
* | | Undocument and clean up sqlite3.OptimizedUnicode | Petri Lehtinen | 2012-02-09 | 6 | -35/+18 |
| | | | | | | | | Closes #13921. | ||||
* | | Merge branch 3.2 | Petri Lehtinen | 2012-02-01 | 2 | -8/+9 |
|\ \ | |/ | | | | | Closes #13676. | ||||
| * | sqlite3: Handle strings with embedded zeros correctly | Petri Lehtinen | 2012-02-01 | 2 | -8/+9 |
| | | | | | | | | Closes #13676. | ||||
* | | Issue #13350: Replace most usages of PyUnicode_Format by PyUnicode_FromFormat. | Amaury Forgeot d'Arc | 2011-11-06 | 1 | -19/+2 |
| | | |||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 4 | -9/+9 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 4 | -9/+20 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale. | Antoine Pitrou | 2011-10-04 | 1 | -2/+2 |
|\ \ | |/ | | | | | Reported and diagnosed by Thomas Kluyver. | ||||
| * | Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale. | Antoine Pitrou | 2011-10-04 | 1 | -2/+2 |
| | | | | | | | | Reported and diagnosed by Thomas Kluyver. | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -7/+12 |
| | | |||||
* | | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. | Brian Curtin | 2011-08-11 | 1 | -6/+4 |
| | | | | | | | | The macro was introduced in #12724. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-01 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | be extra careful with a borrowed reference when the GIL could be released ↵ | Benjamin Peterson | 2011-06-01 | 1 | -0/+2 |
| | | | | | | | | (closes #8578) | ||||
* | | #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵ | Gerhard Haering | 2011-05-09 | 2 | -10/+20 |
| | | | | | | | | ProgrammingError now. | ||||
* | | Issue #11688: Add sqlite3.Connection.set_trace_callback(). Patch by Torsten ↵ | Antoine Pitrou | 2011-04-03 | 1 | -0/+62 |
| | | | | | | | | Landschoff. |