]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-66515: Fix locking of an MH mailbox without ".mh_sequences" file (GH-113482)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 10 Jan 2024 13:31:55 +0000 (15:31 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jan 2024 13:31:55 +0000 (15:31 +0200)
commitbe5e65fdf67b1817e173e73443564c7c146b09a4
tree31a8b1454d36d03a2a8919b1d8b9685907708539
parent89cee94b315c88d3cd4c9ffc051e7abd6a5f2196
gh-66515: Fix locking of an MH mailbox without ".mh_sequences" file (GH-113482)

Guarantee that it either open an existing ".mh_sequences" file or create
a new ".mh_sequences" file, but do not replace existing ".mh_sequences"
file.
Lib/mailbox.py
Lib/test/test_mailbox.py