Skip to content

gh-156699: Preserve single-file mailboxes when replacement fails - #156700

Open
lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:fix-mailbox-bug
Open

gh-156699: Preserve single-file mailboxes when replacement fails#156700
lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:fix-mailbox-bug

Conversation

@lpyu001

@lpyu001 lpyu001 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Use os.replace() so a failed single-file mailbox replacement does not first remove the existing pathname.

Use os.replace() so a failed single-file mailbox replacement does not first remove the existing pathname.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant