| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Thanks, Serhiy, this is very nice! Ideally, we should have this for 3.12. What do you think? I'm not sure it can be considered a defect/bug. |
Sorry, something went wrong.
|
It is clearly not a bug fix. But it is so much must have feature, that it should go in 3.12.1. Let wait on the release of 3.12.0. |
Sorry, something went wrong.
|
This is a new feature, IMO it's too late for Python 3.12. I dislike when Python behavior changes in 3.x.y bug releases, sorry. If you want readline in Python 3.12, you can write your CLI code: #import readline
import sqlite3.__main__
import sys
sqlite3.__main__.main(sys.argv[1:]) |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, just some remarks on the NEWS entry.
Sorry, something went wrong.
…kzkQu.rst Co-authored-by: Victor Stinner <vstinner@python.org>
|
I forgot or didn't know that sqlite3 has a command-line interface. I created issue #109435 to document all stdlib modules which provides a command-line interface (CLI). |
Sorry, something went wrong.
|
The sqlite3 CLI is new in 3.12. This is why I think it is a good idea to backport this change. I always use utilites that read from the stdin with an external wrapper (rlwrap), but the sqlite3 CLI differs from the dis CLI or others which also can read from the stdin, -- it is intended as a REPL. |
Sorry, something went wrong.
Aha, you can negociate with @Yhg1s. First land it in the main branch :-) |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
(cherry picked from commit 254e30c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-110352 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
Thanks, Serhiy! |
Sorry, something went wrong.
…ythonGH-109152) (python#110352)" This reverts commit bc1fe35.
…ythonGH-109152) (python#110352)" This reverts commit bc1fe35.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.