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.