Skip to content

Use tmp for atomic_save temp file suffix#828

Merged
jph00 merged 1 commit into
mainfrom
atomic_save_suffix
Jun 16, 2026
Merged

Use tmp for atomic_save temp file suffix#828
jph00 merged 1 commit into
mainfrom
atomic_save_suffix

Conversation

@curtis-allan

Copy link
Copy Markdown
Contributor

This PR modifies the temporary file's suffix in atomic_save to use the .tmp suffix regardless of original file-type. Since certain file suffixes interact with programs (for example, .ipynb notebook files and nbdev), using a static extension designed for temporary files feels the safest. The original file suffix is set along with the name when we rename the tmp file, so I don't believe this should cause any issues?

@curtis-allan curtis-allan requested a review from jph00 June 16, 2026 04:40
@jph00 jph00 merged commit 503ce8a into main Jun 16, 2026
7 checks passed
@jph00 jph00 added the enhancement New feature or request label Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants