PyREPL raises exception while trying to write to the history file on a read-only file system #128066
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
topic-repl
Related to the interactive shell
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
When using new Python 3.13
pyrepl
on a read-only file system, attempting to exit the REPL raises the following exception:OSError: [Errno 30] Read-only file system: '/root/.python_history'
. The same setup works with Python 3.12.CPython versions tested on:
3.12, 3.13
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: