| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
* All parameters of sqlite3.connect() except "database" are now keyword-only.
* The first three parameters of methods create_function() and
create_aggregate() are now positional-only.
* The first parameter of methods set_authorizer(), set_progress_handler()
and set_trace_callback() is now positional-only.
|
|
|
|
|
|
|
| |
Replace PyErr_WriteUnraisable() with PyErr_FormatUnraisable().
Update test_sqlite3 tests.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
APIs by keyword (#108632)
Deprecate passing the callback callable by keyword for the following
sqlite3.Connection APIs:
- set_authorizer(authorizer_callback)
- set_progress_handler(progress_handler, ...)
- set_trace_callback(trace_callback)
The affected parameters will become positional-only in Python 3.15.
|
|
|
|
|
|
|
|
| |
tests (#108017)
- Use memory_database() helper
- Move test utility functions to util.py
- Add convenience memory database mixin
- Add check() helper for closed connection tests
|
|
|
| |
SQLite 3.15.2 was released 2016-11-28.
|
| |
|
|
|
|
|
| |
This reverts commit d1777515f9f53b452a4231d68196a7c0e5deb879.
Automerge-Triggered-By: GH:JelleZijlstra
|
| |
|
| |
|
| |
|
|
Automerge-Triggered-By: GH:brettcannon
|