Re: Crash with Python bindings

Subject:Re: Crash with Python bindings

Date:Tue, 12 Jan 2016 09:11:36 -0400

To:Konrad Hinsen ,notmuch@notmuchmail.org

Cc:

From:David Bremner


Konrad Hinsen <konrad.hinsen@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

Thread: