Re: BUG: Python's Message.header fails for empty headers

2024-01-08 Thread David Bremner
Vojtěch Káně writes: > At first, this sounds reasonable: the subject is empty, so it is > effectively missing. That would indicate a bug in Lieer itself and would > be fixed by a try-catch block. Notmuch's source for Message.header, > however, states: > >>:returns: The header value, an empty

BUG: Python's Message.header fails for empty headers

2024-01-08 Thread Vojtěch Káně
Dear notmuch developers, I'll start with a short description of how I encountered the bug, so my report is more understandable and also so that you can potentially direct me to other places where the bug actually resides (I am a bit skeptic I would find a bug in such a popular open source