[PATCH] python/thread: always return a string in get_subject/authors

servilio servilio at gmail.com
Mon May 9 05:57:07 PDT 2011


On 9 May 2011 08:20, David Bremner <david at tethera.net> wrote:
> On Mon,  9 May 2011 09:06:34 +0200, Anton Khirnov <anton at khirnov.net> wrote:
>> Now None is returned when those don't exist, which is inconvenient to
>> deal with.
>
> I'm not using the python bindings, but from a philosophical point of
> view, this change makes me a bit uncomfortable since it apparently
> merges two cases together, and makes an error (no Subject)
> indistinguishable from an odd situation (Subject of empty string).
> Or am I missing something here?

I see the the same issue.

Servilio


More information about the notmuch mailing list