unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Anton Khirnov <anton@khirnov.net>, notmuch@notmuchmail.org
Subject: Re: [PATCH] python/thread: always return a string in get_subject/authors
Date: Mon, 09 May 2011 09:20:41 -0300	[thread overview]
Message-ID: <87bozcvzdy.fsf@zancas.localnet> (raw)
In-Reply-To: <1304924794-20380-1-git-send-email-anton@khirnov.net>

On Mon,  9 May 2011 09:06:34 +0200, Anton Khirnov <anton@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?

All the best,

David

  parent reply	other threads:[~2011-05-09 12:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-09  7:06 [PATCH] python/thread: always return a string in get_subject/authors Anton Khirnov
2011-05-09 12:10 ` Austin Clements
2011-05-09 12:20 ` David Bremner [this message]
2011-05-09 12:57   ` servilio
2011-05-09 15:13   ` Anton Khirnov
2011-05-09 15:23     ` Jesse Rosenthal
2011-05-09 15:26       ` Jesse Rosenthal
2011-05-10  1:00   ` Sebastian Spaeth
2011-05-10  1:18     ` Daniel Kahn Gillmor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bozcvzdy.fsf@zancas.localnet \
    --to=david@tethera.net \
    --cc=anton@khirnov.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).