]> granicus.if.org Git - python/commit
#1607951: Make mailbox.Maildir re-read the directories less frequently.
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 2 May 2009 19:17:28 +0000 (19:17 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 2 May 2009 19:17:28 +0000 (19:17 +0000)
commit420d4eb1f3d647487a9c1bb855ec298653165624
tree1be430ba39eead18aa141e1e6aa210930fa789cf
parent6e7bdde2c8e006a3251c31885693f8105c1f880e
#1607951: Make mailbox.Maildir re-read the directories less frequently.
This is done by recording the current time -1sec, and not re-reading unless
the directory mod. times are >= the recorded time.
Lib/mailbox.py
Lib/test/test_mailbox.py