mailbox.mbox.add() sets access time as well as modification time
invalid at invalid
Fri Apr 24 20:37:39 CEST 2009
On 2009-04-24, Grant Edwards <invalid at invalid> wrote:
> Anybody writing to an mbox mailbox has to follow the rules if
> they expect to interoperate with other mail applications. If
> mailbox.mbox.add() doesn't preserve the atime when writing to
> an mbox, then mailbox.mbox.add is broken.
I should qualify that: since the documentation for add()
doesn't specify whether or not it's supposed to add a "new"
message or an "old" message, one could argue that either
behavior is correct.
However, since the maildir add() method adds a "new" message,
one would reasonably expect that the mbox add() method do the
same. Or, I suppose one might expect the converse: since mbox
add() creates an "old" message, then maildir add() should do
I have my filesystems mouted with the "noatime" option and use
Grant Edwards grante Yow! ! The land of the
at rising SONY!!
More information about the Python-list