SlackBuilds Repository

14.2 > Python > atomicwrites (1.1.5)

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


Source Downloads:
atomicwrites-1.1.5.tar.gz (2669c1222f2886cab9a1f1d6370d47da)

Download SlackBuild:
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-2019 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds
Web Design by WebSight Designs |  Managed Hosting by OnyxLight Communications