]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119102: Fix REPL for dumb terminal (#119269)
authorVictor Stinner <vstinner@python.org>
Tue, 21 May 2024 12:53:20 +0000 (08:53 -0400)
committerGitHub <noreply@github.com>
Tue, 21 May 2024 12:53:20 +0000 (13:53 +0100)
commit73f4a58d36b65ec650e8f00b2affc4a4d3195f0c
tree3232169a76a3218afb64ad46d7490823bc27802d
parentb36533290608aed757f6eb16869a679650d32e17
gh-119102: Fix REPL for dumb terminal (#119269)

Use CAN_USE_PYREPL of _pyrepl.__main__ in the site module to decide
if _pyrepl.write_history_file() can be used.
Lib/site.py