SIGN IN SIGN UP

[3.13] gh-119102: Fix REPL for dumb terminal (GH-119269) (#119308)

gh-119102: Fix REPL for dumb terminal (GH-119269)

Use CAN_USE_PYREPL of _pyrepl.__main__ in the site module to decide
if _pyrepl.write_history_file() can be used.
(cherry picked from commit 73f4a58d36b65ec650e8f00b2affc4a4d3195f0c)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
f028451d95d5a8bda0ca1726b05c87a2caace025
Parent: 49ad4d0
Committed by GitHub <noreply@github.com> on 5/21/2024, 1:46:11 PM