Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
mailbox.mbox.add() appears to set both access and modification times
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tinn...@isbd.co.uk  
View profile  
 More options Dec 19 2008, 11:23 am
Newsgroups: comp.lang.python
From: tinn...@isbd.co.uk
Date: 19 Dec 2008 16:23:49 GMT
Local: Fri, Dec 19 2008 11:23 am
Subject: mailbox.mbox.add() appears to set both access and modification times
I'm using mailbox in Python 2.5.2 to filter incoming mail into
separate mailboxes.  I prefer mbox for various reasons and so I have
used that format.

It would appear then when I do:-

    dest = mailbox.mbox(destDir, factory=None)
    dest.add(m)

it sets both the access and modification times of the mbox to the date
and time now.  This is a disaster for MUAs that detect new mail by
looking to see if the mbox has been modified after it was accessed.

Is this a known bug in mailbox.mbox.add(), or am I doing something
wrong, or what?

--
Chris Green


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »