This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Python > atomicwrites (1.3.0)

It uses a temporary file in the same directory as the given path. This ensures
that the temporary file resides on the same filesystem.

The temporary file will then be atomically moved to the target location: On
POSIX, it will use rename if files should be overwritten, otherwise a
combination of link and unlink. On Windows, it uses MoveFileEx through
stdlib’s ctypes with the appropriate flags.

Note that with link and unlink, there’s a timewindow where the file might be
available under two entries in the filesystem: The name of the temporary file,
and the name of the target file.

Also note that the permissions of the target file may change this way. In some
situations a chmod can be issued without any concurrency problems, but since
that is not always the case, this library doesn’t do it by itself.

Optional dependency: python3

Maintained by: Dimitris Zlatanidis
Keywords: python,library,atomic,writes
ChangeLog: atomicwrites

Homepage:
https://github.com/untitaker/python-atomicwrites

Source Downloads:
atomicwrites-1.3.0.tar.gz (ce11f780a4ce0fce8a55d64494a88178)

Download SlackBuild:
atomicwrites.tar.gz
atomicwrites.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds