homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author baikie
Recipients
Date 2007年01月21日.22:10:25
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Hold on, I have a plan. If _toc is only regenerated on locking, or at
the end of a flush(), then the only way self._pending can be set at
that time is if the application has made modifications before calling
lock(). If we make that an exception-raising offence, then we can
assume that self._toc is a faithful representation of the last known
contents of the file. That means we can preserve the existing message
keys on a reread without any of that _user_toc nonsense.
Diff attached, to apply on top of mailbox-unified2. It's probably had
even less review and testing than the previous version, but it appears
to pass all the regression tests and doesn't change any existing
semantics.
File Added: mailbox-update-toc-new.diff
History
Date User Action Args
2007年08月23日 14:50:06adminlinkissue1599254 messages
2007年08月23日 14:50:06admincreate

AltStyle によって変換されたページ (->オリジナル) /