From: Tomi Ollila Date: Fri, 3 Oct 2014 11:01:42 +0000 (+0300) Subject: Re: [PATCH v5] nmbug: Translate to Python X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73602815f19c3d8d2039c6c852d0a86df87fdda5;p=notmuch-archives.git Re: [PATCH v5] nmbug: Translate to Python --- diff --git a/75/237afa101513c83b9e0ba3417e13431bced096 b/75/237afa101513c83b9e0ba3417e13431bced096 new file mode 100644 index 000000000..974dc5b00 --- /dev/null +++ b/75/237afa101513c83b9e0ba3417e13431bced096 @@ -0,0 +1,77 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 58785431FBF + for ; Fri, 3 Oct 2014 04:02:03 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id fShN+PP3HNyc for ; + Fri, 3 Oct 2014 04:01:59 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id 872D9431FB6 + for ; Fri, 3 Oct 2014 04:01:59 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 2EADF10008D; + Fri, 3 Oct 2014 14:01:43 +0300 (EEST) +From: Tomi Ollila +To: David Bremner , "W. Trevor King" , + notmuch@notmuchmail.org +Subject: Re: [PATCH v5] nmbug: Translate to Python +In-Reply-To: <87lhoxr0wn.fsf@maritornes.cs.unb.ca> +References: + + <87lhoxr0wn.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.18.1+119~g5d90feb (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 03 Oct 2014 11:02:03 -0000 + +On Fri, Oct 03 2014, David Bremner wrote: + +> "W. Trevor King" writes: +> +>> This allows us to capture stdout and stderr separately, and do other +>> explicit subprocess manipulation without resorting to external +>> packages. It should be compatible with Python 2.6 and later +>> (including the 3.x series), although with 2.6 you'll need the external +>> argparse package. +> +> As reported on IRC, this version has been working ok for me for a week +> or so. I haven't marked it ready to push because iirc, the python 2.6 +> support doesn't really work and is doomed to be removed. + +Maybe just amend to "It is compatible with Python 2.7 and later...", with +dropping the comment about external argparse package? + +Currently also tests don't work with Python 2.6 -- I have a patch that +would "fix" this but probably it is just noise at this time (and I'd still +need to do the harderst part -- write the commit message). + +> d + +Tomi