Package: python3-notmuch
Version: 0.23.7-3
Severity: important

If I try to run the following program on Debian Stretch:

=== cut ===
#!/usr/bin/python3
import notmuch
db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)

def abcdef():
    pass

q_new = notmuch.Query(db, 'tag:new')
=== cut ===

I get the following output:

brian@wspdigital:~$ /usr/bin/python3 ./tagmail
Aborted

If I comment/remove any of the lines out (including the function that isn't
even referenced anywhere) or switch to Python2, then it works without any
problems.

Am wondering if this is a Python3 bug.

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-0.bpo.3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-notmuch depends on:
ii  libnotmuch4  0.23.7-3
ii  python3      3.5.3-1

python3-notmuch recommends no packages.

python3-notmuch suggests no packages.

-- no debconf information

Reply via email to