Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30300 > unrolled thread
| Started by | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| First post | 2012-09-27 10:59 -0500 |
| Last post | 2012-09-27 10:59 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Ordering of mailbox.mbox contents? Tim Chase <python.list@tim.thechases.com> - 2012-09-27 10:59 -0500
| From | Tim Chase <python.list@tim.thechases.com> |
|---|---|
| Date | 2012-09-27 10:59 -0500 |
| Subject | Ordering of mailbox.mbox contents? |
| Message-ID | <mailman.1490.1348761486.27098.python-list@python.org> |
Reading through the docs[1] and the source, I'm trying to discern if there's any guarantee that the contents of a mbox file remain in a consistent ordering across add/delete calls. As best I can tell from the source, it _looks_ like the code keeps an existing file in the same order, deletions remove without changing the order, and additions append at the end of the file in the order they're added. That's what I'd expect. Is this accurate, or have I missed anything? Thanks, -tkc [1] http://docs.python.org/library/mailbox.html#mbox
Back to top | Article view | comp.lang.python
csiph-web