Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize | Serhiy Storchaka | 2016-11-20 | 1 | -2/+2 |
| | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize. | ||||
* | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
|\ | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵ | Serhiy Storchaka | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions. | ||||
* | | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-26 | 1 | -2/+4 |
|\ \ | |/ | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
| * | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-26 | 1 | -2/+4 |
| | | | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
* | | Issue #28037: Use sqlite3_get_autocommit() instead of setting ↵ | Berker Peksag | 2016-09-12 | 1 | -14/+17 |
| | | | | | | | | | | | | Connection->inTransaction manually Patch adapted from https://github.com/ghaering/pysqlite/commit/9b79188edbc50faa24dc178afe24a10454f3fcad | ||||
* | | Issue #28036: Remove unused pysqlite_flush_statement_cache function | Berker Peksag | 2016-09-11 | 1 | -20/+0 |
| | | |||||
* | | Avoid calling functions with an empty string as format string | Victor Stinner | 2016-09-06 | 1 | -8/+8 |
| | | | | | | | | Directly pass NULL rather than an empty string. | ||||
* | | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -39/+33 |
|\ \ | |/ | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | ||||
| * | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -39/+33 |
| | | | | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | ||||
* | | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -2/+11 |
|\ \ | |/ | | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
| * | Issue #27861: Fixed a crash in sqlite3.Connection.cursor() when a factory | Serhiy Storchaka | 2016-08-29 | 1 | -2/+11 |
| | | | | | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
* | | Issue #10513: Merge from 3.5 | Berker Peksag | 2016-08-26 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | 2016-08-26 | 1 | -1/+0 |
| | | | | | | | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa | ||||
* | | 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 | 1 | -3/+3 |
|\ \ | |/ | | | | | in places where Py_DECREF was used. | ||||
| * | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -3/+3 |
| | | | | | | | | in places where Py_DECREF was used. | ||||
* | | Issue #26687: Use Py_RETURN_NONE macro in sqlite3 module | Berker Peksag | 2016-04-09 | 1 | -16/+8 |
| | | |||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -4/+4 |
| | | |||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
|/ | |||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -8/+5 |
| | | | | macro Py_SETREF. | ||||
* | 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 #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 1 | -5/+6 |
| | | | | and PyObject_AsWriteBuffer(). | ||||
* | Issue #21147: sqlite3 now raises an exception if the request contains a null | Serhiy Storchaka | 2014-09-11 | 1 | -1/+2 |
| | | | | character instead of truncate it. Based on patch by Victor Stinner. | ||||
* | (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: 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_connection_call() of sqlite3, return NULL when | Victor Stinner | 2013-11-05 | 1 | -17/+13 |
| | | | | | | | | PyList_Append() fails | ||||
* | | (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 support of old CPython versions (<3.0) from C code. | Serhiy Storchaka | 2013-08-16 | 1 | -1/+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 #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 | ||||
* | | Issue #13773: sqlite3.connect() gets a new `uri` parameter to pass the ↵ | Antoine Pitrou | 2013-02-09 | 1 | -3/+21 |
|/ | | | | filename as a URI, allowing to pass custom options. | ||||
* | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 1 | -27/+46 |
|\ | |||||
| * | Issue #17073: Fix some integer overflows in sqlite3 module. | Serhiy Storchaka | 2013-02-07 | 1 | -27/+46 |
| | | |||||
* | | 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. | ||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -5/+5 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -5/+10 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -7/+12 |
| | | |||||
* | | 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) |