Re: Crash with Python bindings

Subject: Re: Crash with Python bindings

Date: Tue, 12 Jan 2016 15:21:27 +0100

To: notmuch@notmuchmail.org

Cc:

From: Konrad Hinsen


David Bremner <david@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.

Thread: