cpython/Misc/NEWS.d/next/Library/2024-07-02-11-34-06.gh-issue-121245.sSkDAr.rst

Fix a bug in the handling of the command history of the new :term:`REPL` that caused
the history file to be wiped at REPL exit.