> Sounds good. Let us know if there problems.

Actually yes — I'm getting a list of messages with db.messages(...). This 
returns the expected iterator, and I can iterate over the messages, getting IDs 
etc. However, when I use list() with the result, I'm getting segmentation 
faults 
when accessing IDs etc. It looks like list() gets only references to the 
objects, but not the actual contents (and the memory associated with them is 
freed when the iterator is exhausted).

The same approach works fine with db.threads(...) (which doesn't seem to be in 
the online documentation though).

Am I missing something? Do I need to manually copy the Message objects somehow?

Thanks,

Lars
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to