X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=news%2Frelease-0.6.mdwn;h=616db559d985fc86542217fa77745cef84ba9a10;hb=8c9e75afe3866520e818ba18d69808dca72ed7b0;hp=b16b8aaa19676410e58261284d1d18a71dee8349;hpb=908dfb2a40ad82cef8bb6268b884b2f0a2ea652c;p=obsolete%2Fnotmuch-wiki diff --git a/news/release-0.6.mdwn b/news/release-0.6.mdwn index b16b8aa..616db55 100644 --- a/news/release-0.6.mdwn +++ b/news/release-0.6.mdwn @@ -239,25 +239,25 @@ Bindings improvements (docs online at http://packages.python.org/notmuch/) -* New bindings: + New bindings: - `Message().get_filenames()`, - - `Message().tags_to_maildir_flags()`, `Message().maildir_flags_to_tags()` + - `Message().tags_to_maildir_flags()`, `Message().maildir_flags_to_tags()`, - `list(Threads())` and `list(Messages)` works now - - `Message().__cmp__() and __hash__()` + - `Message().__cmp__()` and `__hash__()` These allow, for example: - if msg1 == msg2: ... + if msg1 == msg2: ... As well as set arithmetic on `Messages()`: - s1, s2 = set(msgs1), set(msgs2) - s1.union(s2) - s2 -= s1 + s1, s2 = set(msgs1), set(msgs2) + s1.union(s2) + s2 -= s1 -* Removed: + Removed: - `len(Messages())` as it exhausted the iterator