As far as I can make out, this package is designed to lock files from access by different threads within a program by using a ".lock" file. I can't see how this could lock a file from external modification.<br>
<br><div class="gmail_quote">On Sun, Aug 14, 2011 at 7:27 AM, Ben Finney <span dir="ltr"><<a href="mailto:ben%2Bpython@benfinney.id.au">ben+python@benfinney.id.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Devin Jeanpierre <<a href="mailto:jeanpierreda@gmail.com">jeanpierreda@gmail.com</a>><br>
writes:<br>
<br>
> As far as I am aware, locked files are impossible to do in a<br>
> cross-platform way<br>
<br>
The ‘lockfile’ library <URL:<a href="http://pypi.python.org/pypi/lockfile" target="_blank">http://pypi.python.org/pypi/lockfile</a>> is an<br>
attempt to implement cross-platform lockfile functionality.<br>
<br>
I would like that library to be part of the Python standard library, but<br>
I think the current maintainer (Skip Montanaro) no longer has the<br>
available time to get that done.<br>
<br>
Anyone care to work with me on getting ‘lockfile’ into the Python<br>
standard library?<br>
<br>
--<br>
 \                             “I'm a born-again atheist.” —Gore Vidal |<br>
  `\                                                                   |<br>
_o__)                                                                  |<br>
Ben Finney<br>
<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</blockquote></div><br>