Crash with Python bindings

David Bremner david at tethera.net
Tue Jan 12 05:11:36 PST 2016


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

> Hi everyone,
>
> I have been writing quite a few Python scripts for notmuch before 
> running into a strange bug. Here is a minimal script producing it:
>
> --------------------------------------------------
> 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?

d


More information about the notmuch mailing list