Re: [fcntl]how to lock a file

2006-04-11 Thread Donn Cave
In article <[EMAIL PROTECTED]>, marcello <[EMAIL PROTECTED]> wrote: > Carl J. Van Arsdall wrote: > > [...] > > > > If you end up having problems working with the python fcntl module let > > me know your configuration I'd be interested to see if anyone else had > > similar problems to me. >

Re: [fcntl]how to lock a file

2006-04-11 Thread marcello
Carl J. Van Arsdall wrote: > [...] > > If you end up having problems working with the python fcntl module let > me know your configuration I'd be interested to see if anyone else had > similar problems to me. Python 2.2.3 (#1, Aug 8 2003, 08:44:02) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-1

Re: [fcntl]how to lock a file

2006-04-10 Thread Carl J. Van Arsdall
You know, I spent some time with this module and had some interesting results. I had to do file locking over nfs using lockd. This poised an interested problem as I couldn't get the python fcntl module to work correctly via nfs even with lockd setup. Anyhow, I ended up writing an extention i

Re: [fcntl]how to lock a file

2006-04-10 Thread marcello
thank you a lot for your answering Bye Marcello -- http://mail.python.org/mailman/listinfo/python-list

Re: [fcntl]how to lock a file

2006-04-07 Thread Eric S. Johansson
marcello wrote: > Hello > I need to do this: > 1 opening a file for writing/appending > 2 to lock the file as for writing (i mean: the program > that lock can keep writing, all others programs can't ) > 3 wtite and close/unlock http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203 been