Re: [PATCH] nmbug: explicitly prefer python3

Subject: Re: [PATCH] nmbug: explicitly prefer python3

Date: Fri, 9 Feb 2018 12:46:24 -0800

To: Daniel Kahn Gillmor

Cc: Notmuch Mail

From: W. Trevor King

On Fri, Feb 09, 2018 at 01:36:48PM -0500, Daniel Kahn Gillmor wrote:
> > Is there something using python3 gets you for nmbug that you miss
> > with python2?
> Yep, i get to remove python 2 from my operating system :)
> Smaller installed codebase, fewer bugs.  There are only two
> outstanding holdovers for me, and nmbug is one of them.

From later on in PEP 394 [1]:

  It is anticipated that there will eventually come a time where the
  third party ecosystem surrounding Python 3 is sufficiently mature
  for this recommendation to be updated to suggest that the python
  symlink refer to python3 rather than python2.

And from right up at the beginning [2]:

  however, end users should be aware that python refers to python3 on
  at least Arch Linux (that change is what prompted the creation of
  this PEP), so python should be used in the shebang line only for
  scripts that are source compatible with both Python 2 and 3.

On my Gentoo system, I've also selected Python 3 to back ‘python’.  So
I think your solution should be “add a /usr/bin/python symlink to your
python3”, not “claim that nmbug is only compatible with Python 3”.



This email may be signed or encrypted with GnuPG (
For more information, see
signature.asc (application/pgp-signature)
notmuch mailing list