Message30608
| Author |
akuchling |
| Recipients |
| Date |
2007年01月12日.18:41:07 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:50:01 | admin | link | issue1599254 messages |
| 2007年08月23日 14:50:01 | admin | create |
|