[PATCH] nmbug: explicitly prefer python3

W. Trevor King wking at tremily.us
Fri Feb 9 09:12:57 PST 2018


On Thu, Feb 08, 2018 at 11:32:11PM -0500, Daniel Kahn Gillmor wrote:
> nmbug and notmuch-report are developer tools.  It's 2018, and all
> developers should have python3 available.

From PEP 394 [1]:

  One exception to this is scripts that are deliberately written to be
  source compatible with both Python 2.x and 3.x.  Such scripts may
  continue to use python on their shebang line without affecting their
  portability.

So while everyone who uses nmbug may have python3, I don't see a need
to pick sides.  Is there something using python3 gets you for nmbug
that you miss with python2?

Cheers,
Trevor

[1]: https://www.python.org/dev/peps/pep-0394/#recommendation

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20180209/02abd660/attachment.sig>


More information about the notmuch mailing list