Thanks for the contribution...
File locking is not in the standard file object because it's not the
same across different UNIX platforms. Now that we have the configure
script, I suppose someone could figure out how to do it on SYSV and
BSD and add some ifdef'ed code that implements simple file-level
locking using a consistent interface to Python users. (Could a BSD
version be done in Python?)
--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>