Crash with Python bindings

Konrad Hinsen konrad.hinsen at fastmail.net
Tue Jan 12 06:21:27 PST 2016


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?

Cheers,
  Konrad.


More information about the notmuch mailing list