cpython
cpython copied to clipboard
gh-119310: Fix encoding when reading old history file
This fixes the problem reading history files created with previous versions of python (that where using GNU readline). Checks that the file was created by readline and change the encoding to unicode-escape.
- Issue: gh-119310