Skip to content
Snippets Groups Projects
Unverified Commit 0b4c87ef authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

bpo-41193: Ignore OSError in readline write_history() (GH-21279)



The write_history() atexit function of the readline completer now
ignores any OSError to ignore error if the filesystem is read-only,
instead of only ignoring FileNotFoundError and PermissionError.
(cherry picked from commit 0ab917e0)

Co-authored-by: default avatarVictor Stinner <vstinner@python.org>
parent ecfecc2d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment