Re: Python updates

Subject: Re: Python updates

Date: Thu, 16 Jun 2011 15:58:39 +0200

To: Notmuch developer list

Cc:

From: Sebastian Spaeth


On Thu, 16 Jun 2011 12:59:47 +0200, Sebastian Spaeth  wrote:

> I just wanted to keep everyone updated on the python API changes that
> are in the master branch. With one exception everything is backwards
> compatible. Feel free to stuff this into the .6 release notes :).

P.S. Once I get started.... I was teased on IRC, so I also implemented:

Message().maildir_flags_to_tags and tags_to_maildir_flags, which are now
by default invoked on Database().add_message and on any operation that
modifies notmuch tags. See the updated API docs at:

http://packages.python.org/notmuch/#notmuch.Message.tags_to_maildir_flags

and the docs for freeze() as to how to use those efficiently.

Sebastian
part-000.sig (application/pgp-signature)

Thread: