8000 Revert "[3.12] gh-109151: Enable readline in the sqlite3 CLI (GH-1091… · serhiy-storchaka/cpython@a70ae71 · GitHub
[go: up one dir, main page]

Skip to content

Commit a70ae71

Browse files
Revert "[3.12] pythongh-109151: Enable readline in the sqlite3 CLI (pythonGH-109152) (python#110352)"
This reverts commit bc1fe35.
1 parent fb8c041 commit a70ae71

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Lib/sqlite3/__main__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ def main(*args):
116116
else:
117117
# No SQL provided; start the REPL.
118118
console = SqliteInteractiveConsole(con)
119-
try:
120-
import readline
121-
except ImportError:
122-
pass
123119
console.interact(banner, exitmsg="")
124120
finally:
125121
con.close()

Misc/NEWS.d/next/Library/2023-09-08-19-44-01.gh-issue-109151.GkzkQu.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)
0