[Python-Dev] Does Python need a file locking module (slightly higher level)?

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Oct 23 01:29:35 CEST 2007


skip at pobox.com wrote:
> Does fcntl.flock work over NFS and SMB and on Windows?

I don't think file locking will ever work over NFS, since
it's a stateless protocol by design, and locking would
require maintaining state on the server.

--
Greg


More information about the Python-Dev mailing list