summaryrefslogtreecommitdiffstats
path: root/Lib/sqlite3/__main__.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] gh-109151: Revert readline support in the sqlite3 CLI (#110542)Serhiy Storchaka2023-10-091-4/+0
| | | | | Revert "[3.12] gh-109151: Enable readline in the sqlite3 CLI (GH-109152) (#110352)" This reverts commit bc1fe3549b32896ef0cbae3d2220ebeaf111d9b8.
* [3.12] gh-109151: Enable readline in the sqlite3 CLI (GH-109152) (#110352)Miss Islington (bot)2023-10-041-0/+4
| | | | | | gh-109151: Enable readline in the sqlite3 CLI (GH-109152) (cherry picked from commit 254e30c487908a52a7545cea205aeaef5fbfeea4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.12] gh-108550: Fix sqlite3 CLI regression from gh-108551 (GH-108618) ↵Miss Islington (bot)2023-08-291-1/+1
| | | | | | | | (#108621) gh-108550: Fix sqlite3 CLI regression from gh-108551 (GH-108618) (cherry picked from commit c8847841cc5629cbceead0c09dc6f537d7b92612) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] gh-108550: Speed up sqlite3 tests (GH-108551) (#108566)Miss Islington (bot)2023-08-281-3/+6
| | | | | | | | | | | | | | | | | | gh-108550: Speed up sqlite3 tests (GH-108551) Refactor the CLI so we can easily invoke it and mock command-line arguments. Adapt the CLI tests so we no longer have to launch a separate process. Disable the busy handler for all concurrency tests; we have full control over the order of the SQLite C API calls, so we can safely do this. The sqlite3 test suite now completes ~8 times faster than before. (cherry picked from commit 0e8b3fc718c8a1c4de558c553d9e05049c1dbec6) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-102628: Fix sqlite3 CLI prompt in IDLE on Windows (#103945)Erlend E. Aasland2023-04-271-1/+4
|
* gh-102628: Fix sqlite3 CLI prompt for Windows console users (#103898)Erlend E. Aasland2023-04-271-1/+2
| | | | The prompt will still be incorrect in IDLE on Windows, as IDLE uses CTRL-D for EOF on all platforms.
* gh-95273: Improve sqlite3.complete_statement docs (#95840)Erlend E. Aasland2022-08-111-0/+23
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-77617: Add sqlite3 command-line interface (#95026)Erlend Egeberg Aasland2022-08-011-0/+97
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>