]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41193: Ignore OSError in readline write_history() (GH-21279)
authorVictor Stinner <vstinner@python.org>
Thu, 2 Jul 2020 10:43:25 +0000 (12:43 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Jul 2020 10:43:25 +0000 (12:43 +0200)
commit0ab917e07ed64c6bfde6f6e791f9b28acc97b510
tree65501a3252a6701e91658cfc9d8071b74189011e
parent004e64e8059fe68a72890314673282f2e60d5ce1
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.
Lib/site.py
Misc/NEWS.d/next/Library/2020-07-02-11-53-45.bpo-41193.8-Tnql.rst [new file with mode: 0644]