X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=news%2Frelease-0.6.mdwn;h=b0caeb3e9c0ede7c2953d7924f889774a79cad63;hb=e8f277e9c7c0ab3cee817a7a453421bcd00a6972;hp=54e34571a87bb991ddae64402d758c3185939d2c;hpb=5f7cea30a1db7ea70d627c79463b271c2beb05d2;p=notmuch-wiki diff --git a/news/release-0.6.mdwn b/news/release-0.6.mdwn index 54e3457..b0caeb3 100644 --- a/news/release-0.6.mdwn +++ b/news/release-0.6.mdwn @@ -241,27 +241,27 @@ Bindings improvements 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: - - 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