[PATCH 0/6] python: add bindings for notmuch_database_get_config{, _list}

Subject: [PATCH 0/6] python: add bindings for notmuch_database_get_config{, _list}

Date: Thu, 7 Dec 2017 12:40:45 +0100

To: notmuch@notmuchmail.org

Cc: Lucas Hoffmann

From: l-m-h@web.de

Comming back after a long time (sorry for the wait).

I now changed the binding for notmuch_database_get_config_list into a
generator.  It is called get_configs in the python bindings (the "s"
should indicate the iterable/generator nature like for dict.items or

Tests and the set_config entry point were also added.

If you want you can merge it as is or I can squash the commits in any
way you want.

Lucas Hoffmann (6):
  python: add bindings to access config
  python: add default arg to get_config_list
  python: turn get_config_list into a generator
  test: Add tests for new python bindings
  python: Rename get_config_list to get_configs
  test: Add test to unset config items with the python bindings

 bindings/python/docs/source/database.rst |   6 ++
 bindings/python/notmuch/database.py      | 111 ++++++++++++++++++++++++++++++-
 bindings/python/notmuch/globals.py       |   5 ++
 test/T390-python.sh                      |  81 ++++++++++++++++++++++
 4 files changed, 202 insertions(+), 1 deletion(-)

notmuch mailing list