X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=news%2Frelease-0.6.mdwn;h=a7dc80c8435406ddb02d3b585f2c0d0b8633d580;hb=1d25b9429e75883aef575f83f12cc67cd379d220;hp=616db559d985fc86542217fa77745cef84ba9a10;hpb=8c9e75afe3866520e818ba18d69808dca72ed7b0;p=obsolete%2Fnotmuch-wiki diff --git a/news/release-0.6.mdwn b/news/release-0.6.mdwn index 616db55..a7dc80c 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: - - - `Message().get_filenames()`, - - `Message().tags_to_maildir_flags()`, `Message().maildir_flags_to_tags()`, - - `list(Threads())` and `list(Messages)` works now +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__()` - These allow, for example: +These allow, for example: - if msg1 == msg2: ... + if msg1 == msg2: ... - As well as set arithmetic on `Messages()`: +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. +Use `len(list(Messages()))` or `Query.count_messages()` +to get the length. ### Added initial Go bindings in bindings/go