ancient-stone-50795
03/23/2016, 10:58 AMbored-art-40741
03/23/2016, 1:04 PMbored-art-40741
03/23/2016, 1:05 PMbored-art-40741
03/23/2016, 1:05 PMbored-art-40741
03/23/2016, 1:05 PMancient-stone-50795
03/23/2016, 1:20 PMancient-stone-50795
03/23/2016, 1:22 PMancient-stone-50795
03/23/2016, 1:24 PMancient-stone-50795
03/23/2016, 1:27 PMbored-art-40741
03/23/2016, 1:28 PMbored-art-40741
03/23/2016, 1:29 PMancient-stone-50795
03/23/2016, 1:29 PMbored-art-40741
03/23/2016, 1:30 PMancient-stone-50795
03/23/2016, 1:31 PMbored-art-40741
03/23/2016, 1:32 PMancient-stone-50795
03/23/2016, 1:32 PMancient-stone-50795
03/23/2016, 1:32 PMbored-art-40741
03/23/2016, 1:33 PMancient-stone-50795
03/23/2016, 1:34 PMancient-stone-50795
03/23/2016, 1:34 PMancient-stone-50795
03/23/2016, 1:35 PMbored-art-40741
03/23/2016, 1:36 PMbored-art-40741
03/23/2016, 1:36 PMancient-stone-50795
03/23/2016, 1:41 PMancient-stone-50795
03/23/2016, 2:00 PMancient-stone-50795
03/23/2016, 2:11 PMlockfile
doesn't use flock()
is explained in the https://pypi.python.org/pypi/lockfile documentation. Its for portability between *NIX and windows implementations. There are other locking schemes you can use, but it isn't clear that any of them share or solve the stale lockfile issue.bored-art-40741
03/23/2016, 2:20 PMbored-art-40741
03/23/2016, 2:21 PMancient-stone-50795
03/23/2016, 2:21 PMbored-art-40741
03/23/2016, 2:22 PMUnlike the Windows msvcrt.locking() function, the Unix fcntl.flock(), fcntl.lockf() and the deprecated posixfile module, the API is identical across both Unix (including Linux and Mac) and Windows platforms. The lock mechanism relies on the atomic nature of the link() (on Unix)...
to mean "still has the properties of flock"