Message30608
I realized that making flush() invalidate keys breaks the final example in the docs, which loops over inbox.iterkeys() and removes messages, doing a pack() after each message.
Which platforms lack file.truncate()? Windows has it; POSIX has it, so modern Unix variants should all have it. Maybe mailbox should simply raise an exception (or trigger a warning?) if truncate is missing, and we should then assume that flush() has no effect upon keys.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:50:01 | admin | link | issue1599254 messages |
2007-08-23 14:50:01 | admin | create | |
|