readline.set_history_length
results in unreadable history files
#281
Labels
compatibility
Compatibility with CPython and the broader ecosystem
Hello,
Writing a history file after a call to
readline.set_history_length
results in an unreadable history file. For example, withcpython-3.12.4+20240713-x86_64-unknown-linux-gnu-install_only.tar.gz
:gives me a traceback on the
read_history_file
:This might be a conflict/incompatibility between editline and a history library that doesn't work with editline's
_HiStOrY_V2_
format.I've added a test to CPython that should fail in this case. I don't know what more I can do on the CPython side.
The same “Invalid argument” error happens when trying to read a history file produced with GNU readline. This can affect users switching from some earlier standalone builds.
The text was updated successfully, but these errors were encountered: