Skip to content

move_message() should use renameat2 on non-ancient Linux #42

@FelixSchwarz

Description

@FelixSchwarz

Now that CentOS 7 is history, we could use an atomic file swap: https://github.com/jordemort/python-renameat2

Also need to package the dependency in the COPR repo.

Note to self: atomicswap is somewhat related, supports also Windows and MacOS but only provides the "swap" part, not the atomic rename (and is Python 3.7+).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions