X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=news%2Frelease-0.6.mdwn;h=a7dc80c8435406ddb02d3b585f2c0d0b8633d580;hb=5f5765ced6969050be63278f8dc77939571a2489;hp=f0771b6f907df45fd64fbe806f6ecc336fbe5e54;hpb=b126c048568a63254fa14a8070746790a782851b;p=notmuch-wiki diff --git a/news/release-0.6.mdwn b/news/release-0.6.mdwn index f0771b6..a7dc80c 100644 --- a/news/release-0.6.mdwn +++ b/news/release-0.6.mdwn @@ -239,29 +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().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: ... - 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 - 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