Crash with Python bindings

David Bremner david at tethera.net
Tue Jan 12 07:26:35 PST 2016


Konrad Hinsen <konrad.hinsen at fastmail.net> writes:

> David Bremner <david at tethera.net> writes:
>
>>> from notmuch import Query, Database
>>>
>>> def foo(bar):
>>>      pass
>>>
>>> db = Database()
>>> q = Query(db, "*")
>>> db.close()
>>
>> Do you really call the constructor without a path? Or are you censoring
>> the script for some reason?
>
> No path means path=None, which stands for the path from
> ~/.notmuch-config. That's exactly what I want. Is there some reason not
> to rely on this mechanism?

Oh sorry, I'm (obviously) not that familiar with the python bindings.

d


More information about the notmuch mailing list