On Tue, Jan 12, 2016 at 10:41:57AM +0100, Konrad Hinsen wrote:
> --------------------------------------------------
> from notmuch import Query, Database
> 
> def foo(bar):
>      pass
> 
> db = Database()
> q = Query(db, "*")
> db.close()
> --------------------------------------------------
> 
> Running this script (Python 3.5, MacOS X) yields:
>
> [1]    22478 abort      pydev3 Temp/notmuch_test.py
> …
> The strange part is that what causes the crash is the presence of the 
> function foo(), even though it is never called. Remove foo and the 
> script runs fine. It is also necessary to create a Query object.

Adding some more data-points, I see the same results with Python 3.4.3
on Gentoo, although stderr just gets “Aborted”.  All permutations seem
to work on Python 3.3.5.

Cheers,
Trevor

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to