Re: python bindings memory management

2017-11-19 Thread David Bremner
Gaute Hope writes: > Hi, > > when writing this small script [0][1] using the notmuch python bindings I > had to manually delete the python objects in the right order. Otherwise > it segfaults when exiting, presumably because memory dependencies / > cleanup isn't done correctly when the Python

python bindings memory management

2017-11-19 Thread Gaute Hope
Hi, when writing this small script [0][1] using the notmuch python bindings I had to manually delete the python objects in the right order. Otherwise it segfaults when exiting, presumably because memory dependencies / cleanup isn't done correctly when the Python GC gets going. Essentially I h

Re: bounce/forward not working due to CR at line end

2017-11-19 Thread Kai Harries
Gaute Hope writes: > Kai Harries writes on november 17, 2017 19:16: >> I am thinking about filing a ticket against gmailier because storing the >> emails with CRLF on a *nix is at least surprising. > > Hi, > > this was actually fixed in commit 71ce2b2 where line-endings are > converted to \n if

Re: bounce/forward not working due to CR at line end

2017-11-19 Thread Gaute Hope
Kai Harries writes on november 17, 2017 19:16: I am thinking about filing a ticket against gmailier because storing the emails with CRLF on a *nix is at least surprising. Hi, this was actually fixed in commit 71ce2b2 where line-endings are converted to \n if that is the OS line seperator. I

gmailieer v0.4

2017-11-19 Thread Gaute Hope
Hi, I just release gmailieer v0.4! The changes can be seen listed below, get the latest version here: https://github.com/gauteh/gmailieer Regards, Gaute 2017-11-19 b7a9237 Gaute Hope release v0.4 (HEAD -> master, tag: v0.4, origin/master) 2017-11-17 5a9f3f7 Gaute Hope drop missing labe

Re: [PATCH] python: add bindings for notmuch_message_get_property

2017-11-19 Thread Daniel Kahn Gillmor
On Wed 2017-11-15 23:29:54 +0100, Ruben Pollan wrote: > Message.get_property (prop) returns a string with the value of the property. Upon review, this is actually insufficient for making robust use of the session-key series :( In particular, it only returns the first value for the session key ret