Skip to content

Commit 22474a1

Browse files
[3.12] gh-109151: Revert readline support in the sqlite3 CLI (#110542)
Revert "[3.12] gh-109151: Enable readline in the sqlite3 CLI (GH-109152) (#110352)" This reverts commit bc1fe35.
1 parent d152823 commit 22474a1

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Lib/sqlite3/__main__.py

-4
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

-1
This file was deleted.

0 commit comments

Comments
 (0)