Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused var from CheckCancelOperation test (GH-4317) | Simon Willison | 2017-11-07 | 1 | -2/+0 |
| | | | It looks like this was copied from one of the previous tests, which did use it. | ||||
* | bpo-31843: sqlite3.connect() now accepts PathLike objects as database name ↵ | Anders Lorentsen | 2017-11-07 | 1 | -0/+11 |
| | | | | (#4299) | ||||
* | bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor ↵ | Oren Milman | 2017-11-07 | 1 | -0/+3 |
| | | | | object is uninitialized (#3958) | ||||
* | bpo-31770: Prevent a crash and refleaks when calling ↵ | Oren Milman | 2017-11-07 | 1 | -0/+18 |
| | | | | sqlite3.Cursor.__init__() more than once (#3968) | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -5/+1 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461) | Aviv Palivoda | 2017-04-09 | 1 | -0/+20 |
| | | | | | | conn.set_trace_callback() shouldn't be called multiple times when the schema is changing. This has indirectly been fixed by using sqlite3_prepare_v2() in bpo-9303. | ||||
* | bpo-28518: Start a transaction implicitly before a DML statement (#245) | Berker Peksag | 2017-02-26 | 1 | -0/+9 |
| | | | Patch by Aviv Palivoda. | ||||
* | Issue #29123: Merge from 3.5 | Berker Peksag | 2016-12-31 | 1 | -2/+1 |
|\ | |||||
| * | Issue #29123: Make CheckSqlTimestamp more robust | Berker Peksag | 2016-12-31 | 1 | -2/+1 |
| | | |||||
* | | Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation() | Serhiy Storchaka | 2016-09-26 | 1 | -0/+22 |
|\ \ | |/ | | | | | 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 | -0/+22 |
| | | | | | | | | if pass invalid string-like object as a name. Patch by Xiang Zhang. | ||||
* | | Issue #10740: sqlite3 no longer implicitly commit an open transaction before ↵ | Berker Peksag | 2016-09-11 | 1 | -8/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DDL statements This commit contains the following commits from ghaering/pysqlite: * https://github.com/ghaering/pysqlite/commit/f254c534948c41c0ceb8cbabf0d4a2f547754739 * https://github.com/ghaering/pysqlite/commit/796b3afe38cfdac5d7d5ec260826b0a596554631 * https://github.com/ghaering/pysqlite/commit/cae87ee68613697a5f4947b4a0941f59a28da1b6 * https://github.com/ghaering/pysqlite/commit/3567b31bb5e5b226ba006213a9c69dde3f155faf With the following additions: * Fixed a refcount error * Fixed a compiler warning * Made the string comparison a little more robust * Added a whatsnew entry | ||||
* | | Issue #21250: Merge from 3.5 | Berker Peksag | 2016-09-06 | 1 | -1/+100 |
|\ \ | |/ | |||||
| * | Issue #21250: Add tests for SQLite's ON CONFLICT clause | Berker Peksag | 2016-09-06 | 1 | -1/+100 |
| | | | | | | | | Initial patch by Alex LordThorsen. | ||||
* | | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -4/+27 |
|\ \ | |/ | | | | | | | | | sqlite3.Connection.isolation_level. Based on patch by Xiang Zhang. | ||||
| * | Issue #27881: Fixed possible bugs when setting ↵ | Serhiy Storchaka | 2016-09-01 | 1 | -4/+27 |
| | | | | | | | | | | | | 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 | -3/+17 |
|\ \ | |/ | | | | | 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 | -3/+17 |
| | | | | | | | | creates not a cursor. Patch by Xiang Zhang. | ||||
* | | Issue #10513: Merge from 3.5 | Berker Peksag | 2016-08-26 | 1 | -0/+31 |
|\ \ | |/ | |||||
| * | Issue #10513: Fix a regression in Connection.commit() | Berker Peksag | 2016-08-26 | 1 | -0/+31 |
| | | | | | | | | | | | | Statements should not be reset after a commit. Backported from https://github.com/ghaering/pysqlite/commit/029050896b1e6058573abeef5a8970384c0c7faa | ||||
* | | Issue #21718: Merge from 3.5 | Berker Peksag | 2016-08-21 | 1 | -1/+41 |
|\ \ | |/ | |||||
| * | Issue #21718: cursor.description is now available for queries using CTEs | Berker Peksag | 2016-08-21 | 1 | -1/+41 |
| | | | | | | | | | | | | | | | | | | | | According to PEP 249, cursor.description must be available for any SELECT statements, such as those that use CTEs. Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c Additional test cases added by me. | ||||
* | | Issue #16864: Cursor.lastrowid now supports REPLACE statement | Berker Peksag | 2016-06-14 | 1 | -1/+42 |
|/ | | | | Initial patch by Alex LordThorsen. | ||||
* | Mark tests as skipped when a SQLite version is not supported | Berker Peksag | 2016-06-14 | 4 | -16/+9 |
| | |||||
* | Remove empty setUp and tearDown methods from sqlite3 tests | Berker Peksag | 2016-06-14 | 2 | -18/+0 |
| | | | | | They are not used as base classes by another tests so they can safely be removed. | ||||
* | Replace more boilerplate code with modern unittest features in sqlite3 tests | Berker Peksag | 2016-06-13 | 3 | -13/+6 |
| | |||||
* | Modernize sqlite3 tests | Berker Peksag | 2016-06-12 | 6 | -257/+62 |
| | | | | | Update current tests that use old pattern with assertRaises to make them more maintainable. | ||||
* | Issue #27190: Raise NotSupportedError if sqlite3 is older than 3.3.1 | Berker Peksag | 2016-06-12 | 1 | -0/+6 |
| | | | | Patch by Dave Sawyer. | ||||
* | Issue #27188: Fix various sqlite3 documentation errors | Berker Peksag | 2016-06-12 | 1 | -0/+12 |
| | | | | | | | | | | | * Connection.execute* methods don't create intermediate cursor objects * Fix description of seq_of_parameters parameter * Clarify that Warning is sqlite3.Warning * sql_script parameter of Cursor.executescript() doesn't accept bytes * Add missing tests * Fix various markup errors Initial patch by Dave Sawyer. | ||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #23758: Improve num_params docs of create_{function,aggregate} functions | Berker Peksag | 2016-03-27 | 1 | -0/+31 |
| | | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier. | ||||
* | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 1 | -0/+8 |
|\ | | | | | | | | | 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 | -0/+8 |
| | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
* | | Issue #13583: sqlite3.Row now supports slice indexing. | Serhiy Storchaka | 2015-03-31 | 1 | -0/+18 |
|/ | | | | Tests by Jessica McKellar. | ||||
* | Issue #23641: Cleaned out legacy dunder names from tests and docs. | Serhiy Storchaka | 2015-03-12 | 1 | -12/+3 |
| | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. | ||||
* | 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 #10203: sqlite3.Row now truly supports sequence protocol. In particulr | Serhiy Storchaka | 2014-05-28 | 2 | -3/+25 |
| | | | | it supports reverse() and negative indices. Original patch by Claudiu Popa. | ||||
* | merge 3.3 (#20901) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
|\ | |||||
| * | weaken callback count inequality (closes #20901) | Benjamin Peterson | 2014-03-13 | 1 | -1/+1 |
| | | |||||
* | | merge 3.3 (#20080) | Benjamin Peterson | 2014-02-15 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | add missing test assertion (closes #20080) | Benjamin Peterson | 2014-02-15 | 1 | -0/+1 |
| | | | | | | | | Patch by Vajrasky Kok. | ||||
* | | (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalid | Victor Stinner | 2013-12-19 | 1 | -0/+5 |
|\ \ | |/ | | | | | isolation level (wrong type). | ||||
| * | 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 |
|\ \ | |/ | |||||
| * | Issue #19601: Use specific asserts in sqlite3 tests. | Serhiy Storchaka | 2013-11-16 | 2 | -30/+20 |
| | | |||||
* | | #18741: merge with 3.3. | Ezio Melotti | 2013-08-17 | 2 | -3/+5 |
|\ \ | |/ | |||||
| * | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 2 | -3/+5 |
| | | |||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 2 | -2/+2 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 2 | -2/+2 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior | Petri Lehtinen | 2013-02-26 | 2 | -3/+12 |
|\ \ | |/ |