Re: [PATCH 1/2] python: add bindings for notmuch_database_get_config{, _list}

2017-06-26 Thread David Bremner
Lucas Hoffmann writes: > > I don't see a reason to have python programmers handle "manual > iterators" or however you want to call the thing the C code does there. > So I would like to keep *some* simplified interface as well. > > It is very easy to turn this into a generator. But

Re: [PATCH 1/2] python: add bindings for notmuch_database_get_config{, _list}

2017-06-20 Thread Lucas Hoffmann
Now I finally found some time to come back to this. Quoting David Bremner (2017-06-10 13:10:13) > Thanks for writing these bindings, it will be good to have the bindings > (almost) catch up to the library again. My pleasure. > We generally expect more than just a subject line in the commit

Re: [PATCH 1/2] python: add bindings for notmuch_database_get_config{, _list}

2017-06-10 Thread David Bremner
l-...@web.de writes: Thanks for writing these bindings, it will be good to have the bindings (almost) catch up to the library again. We generally expect more than just a subject line in the commit message https://notmuchmail.org/contributing/#index5h2 > +def get_config(self, key): > +

[PATCH 1/2] python: add bindings for notmuch_database_get_config{, _list}

2017-06-04 Thread l-m-h
--- bindings/python/docs/source/database.rst | 4 ++ bindings/python/notmuch/database.py | 85 bindings/python/notmuch/globals.py | 5 ++ 3 files changed, 94 insertions(+) diff --git a/bindings/python/docs/source/database.rst