On 8/10/2010 2:25 AM, Chris Rebert wrote:
On Tue, Aug 10, 2010 at 2:01 AM, wrote:
Tim Roberts wrote:
tinn...@isbd.co.uk wrote:
I'm using the python mailbox class in a script that processes incoming
mail and delivers it to various mbox format mailboxes. It appears
that, although I am callin
Even if you replace the python mbox code with something that uses
fcntl.flock() to protect against concurrent updating, you should also
understand that NFS does *not* provide full Unix filesystem semantics.
In particular, Unix flock(2) (which Python's fcntl.flock() wraps)
doesn't work over NFS.
Th
On Tue, Aug 10, 2010 at 2:01 AM, wrote:
> Tim Roberts wrote:
>> tinn...@isbd.co.uk wrote:
>> >
>> >I'm using the python mailbox class in a script that processes incoming
>> >mail and delivers it to various mbox format mailboxes. It appears
>> >that, although I am calling the lock method on the
Tim Roberts wrote:
> tinn...@isbd.co.uk wrote:
> >
> >I'm using the python mailbox class in a script that processes incoming
> >mail and delivers it to various mbox format mailboxes. It appears
> >that, although I am calling the lock method on the destination before
> >writing to the mbox and cal
tinn...@isbd.co.uk wrote:
>
>I'm using the python mailbox class in a script that processes incoming
>mail and delivers it to various mbox format mailboxes. It appears
>that, although I am calling the lock method on the destination before
>writing to the mbox and calling unlock afterwards the locki
I'm using the python mailbox class in a script that processes incoming
mail and delivers it to various mbox format mailboxes. It appears
that, although I am calling the lock method on the destination before
writing to the mbox and calling unlock afterwards the locking isn't
working correctly.
I a