notmuch/bindings/python-cffi/notmuch2
David Bremner 8b737af28b bindings/python-cffi: search for config by default
The previous (pre-0.34.2) constructor searched for a config file but
only if the database path was not specified, and only to retrieve
database.path. Neither of the available options (CONFIG.SEARCH or
CONFIG.NONE) matches this semantics exactly, but CONFIG.SEARCH causes
less breakage for people who relied on the old behaviour to set their
database.path [1]. Since it also seems like the friendlier option in
the long run, this commit switches to CONFIG.SEARCH as default.

This requires a certain amount of updating the pytest tests, but most
users will actually have a config file, unlike the test environment.

[1]: id:87fsqijx7u.fsf@metapensiero.it
2022-01-09 15:16:51 -04:00
..
__init__.py Fix typos 2020-08-09 21:14:36 -03:00
_base.py Fix typos 2020-08-09 21:14:36 -03:00
_build.py python-cffi: switch to notmuch_database_{open,create}_with_config 2021-12-04 08:42:31 -04:00
_config.py python config access: fix style and KeyError bug 2020-06-15 21:50:03 -03:00
_database.py bindings/python-cffi: search for config by default 2022-01-09 15:16:51 -04:00
_errors.py Fix error message when using notmuch_status_to_string 2021-12-05 08:53:39 -04:00
_message.py python-cffi: returned OwnedMessage objects from Message.replies 2022-01-08 16:29:41 -04:00
_query.py Rename package to notmuch2 2019-12-03 08:12:30 -04:00
_tags.py Fix typos 2020-08-09 21:14:36 -03:00
_thread.py Make messages returned by Thread objects owned 2020-06-16 08:02:02 -03:00