X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=news%2Frelease-0.6.mdwn;h=b0caeb3e9c0ede7c2953d7924f889774a79cad63;hb=e8f277e9c7c0ab3cee817a7a453421bcd00a6972;hp=d14bdebda0eb4d8afcdd8a85e12ee7ecf89d6f21;hpb=ae90ab28e97d46fd416a105936b44dfd0f08696f;p=notmuch-wiki diff --git a/news/release-0.6.mdwn b/news/release-0.6.mdwn index d14bdeb..b0caeb3 100644 --- a/news/release-0.6.mdwn +++ b/news/release-0.6.mdwn @@ -239,30 +239,29 @@ 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()` - - `list(Threads())` and `list(Messages)` works now - - - `Message().__cmp__() and __hash__()` + - `Message().get_filenames()`, `Message().tags_to_maildir_flags()`, + `Message().maildir_flags_to_tags()`, `list(Threads())` and + `list(Messages)` works now + - `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. - Use len(list(Messages())) or - `Query.count_messages()` to get the length. + - `len(Messages())` as it exhausted the iterator + Use `len(list(Messages()))` or `Query.count_messages()` + to get the length. ### Added initial Go bindings in bindings/go