Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge from 3.5 | Berker Peksag | 2016-06-12 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix typo in _sqlite/module.h | Berker Peksag | 2016-06-12 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #27190: Merge from 3.5 | Berker Peksag | 2016-06-12 | 1 | -0/+4 | |
|\ \ | |/ | ||||||
| * | Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1 | Berker Peksag | 2016-06-12 | 1 | -0/+4 | |
| | | | | | | | | Patch by Dave Sawyer. | |||||
* | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 2 | -6/+6 | |
|\ \ | |/ | | | | | in places where Py_DECREF was used. | |||||
| * | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 2 | -6/+6 | |
| | | | | | | | | in places where Py_DECREF was used. | |||||
* | | Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module | Berker Peksag | 2016-04-09 | 4 | -32/+16 | |
| | | ||||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 2 | -9/+9 | |
|\ \ | |/ | ||||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 2 | -9/+9 | |
| | | ||||||
* | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -2/+2 | |
|\ \ | |/ | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | |||||
| * | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -2/+2 | |
| | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | |||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 3 | -5/+5 | |
|/ | ||||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 2 | -16/+10 | |
| | | | | macro Py_SETREF. | |||||
* | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 1 | -1/+1 | |
|\ | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | |||||
| * | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 1 | -1/+1 | |
| | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | |||||
* | | Issue #20274: When calling a _sqlite.Connection, it now complains if passed | Larry Hastings | 2015-05-08 | 1 | -3/+6 | |
|\ \ | |/ | | | | | | | | | any keyword arguments. Previously it silently ignored them. Also: merge related change from 3.4, also reported on Issue #20274. | |||||
| * | Issue #20274: Remove ignored and erroneous "kwargs" parameters from three | Larry Hastings | 2015-05-08 | 1 | -3/+3 | |
| | | | | | | | | METH_VARARGS methods on _sqlite.Connection. | |||||
* | | Issue #13583: sqlite3.Row now supports slice indexing. | Serhiy Storchaka | 2015-03-31 | 1 | -2/+1 | |
| | | | | | | | | Tests by Jessica McKellar. | |||||
* | | Removed unintentional trailing spaces in non-external and non-generated C files. | Serhiy Storchaka | 2015-03-18 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #23571: PyObject_Call(), PyCFunction_Call() and call_function() now | Victor Stinner | 2015-03-06 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | raise a SystemError if a function returns a result and raises an exception. The SystemError is chained to the previous exception. Refactor also PyObject_Call() and PyCFunction_Call() to make them more readable. Remove some checks which became useless (duplicate checks). Change reviewed by Serhiy Storchaka. | |||||
* | | Issue #22883: Got rid of outdated references to PyInt and PyString in comments. | Serhiy Storchaka | 2015-02-17 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #23450: Fixed possible integer overflows. | Serhiy Storchaka | 2015-02-16 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-03 | 2 | -10/+14 | |
|\ \ | |/ | | | | | and PyObject_AsWriteBuffer(). | |||||
| * | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-03 | 2 | -10/+14 | |
| | | | | | | | | and PyObject_AsWriteBuffer(). | |||||
* | | 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 #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 #22218: Fix "comparison between signed and unsigned integers" warning in | Victor Stinner | 2014-08-17 | 1 | -1/+1 | |
|/ | | | | Modules/_sqlite/cursor.c. | |||||
* | 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-28 | 1 | -0/+3 | |
|\ \ | |/ | ||||||
| * | Fix compilation of the _sqlite module if threads are disabled | Victor Stinner | 2013-08-28 | 1 | -0/+3 | |
| | | ||||||
* | | Issue #18701: Remove sqlitecompat.h. | Serhiy Storchaka | 2013-08-17 | 1 | -63/+0 | |
| | | ||||||
* | | Issue #18701: Remove support of old CPython versions (<3.0) from C code. | Serhiy Storchaka | 2013-08-17 | 6 | -6/+0 | |
| | | ||||||
* | | Issue #18519: Fix test_sqlite on old versions of libsqlite3 | Victor Stinner | 2013-08-02 | 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(). |