From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 7FB716DE2D5E for ; Wed, 28 Mar 2018 15:08:05 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.168 X-Spam-Level: X-Spam-Status: No, score=0.168 tagged_above=-999 required=5 tests=[AWL=-0.062, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pb7LHEw8k9se for ; Wed, 28 Mar 2018 15:08:03 -0700 (PDT) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by arlo.cworth.org (Postfix) with ESMTPS id 8C5E46DE2D5D for ; Wed, 28 Mar 2018 15:08:03 -0700 (PDT) Received: by mail-wm0-f45.google.com with SMTP id l16so8063082wmh.3 for ; Wed, 28 Mar 2018 15:08:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=DrE6Pdo+kBXR01mBoFJh0oKWI3X7AIFs6pUn2aA+DXQ=; b=C6PGZmJtQ15cLGBJ+W6CgabzJN+D2CaLyScUJO6Kn05bHNmjFpPOecN6l7kfFXdFVP i7+gW+Jgjquum6rsmkOTvDJjQsOrXpdV+TUoP0YepspIMheh274XlyirzCME/xKwdzz3 vtIj/BD9+RGbcXQXwK0g0XsW6vu32HmZgxlFI927Lc2BWw1ALF96L58kNU35x23u7vaW xnsS9jw5Yu3e+Zqg+rnV/GASpJC2A1RU5WhUpkj8w65KDa81Z22wuQn13l3lJJ7bDzVp 32WrhRXaOkNcTxEwRBcsARqSxfKW24PZpp40cn7ld/jQquv2zKK0jbO7gscqBf08oAk/ iG9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :date:message-id:mime-version; bh=DrE6Pdo+kBXR01mBoFJh0oKWI3X7AIFs6pUn2aA+DXQ=; b=IfvJO1RfbCD7lxR3n470Q1gyeFbzFAMVKEJxe6AlQbn2+HF96yV2cAPp/7/L812nmf cvogAD8fEX4AwNaxOzFYhKI/DX0qVyfVJPC+rupkmSYZsvjQQ/pUlDQ0dQ8zChokt51i +i5ILhtSAvEX/s93VEZwYhsEnO4ACVU2iXStcbvbg14gWzMtouwPZ9xCa2KEmR4EKlgp rMH+GTsnDKL6H2HFsYrMnwyeY2HAyHlKKpffYD+ZczGMh/Z54Dhj4aPsb4SmmJsvmuFG RQNBJyqUl0XCpcuzGfxM1X/pFhlFuQt3DysIUH+HHM0epk1GBlqLhdpTCYBmgAejSzG/ ISog== X-Gm-Message-State: AElRT7HoIvUqcyDYV3KreXT6/ufY/BoPdPw7wNcbuIeUIUAs5prEp3hf mP7Ffaz2PmegJn/yx7MGluo= X-Google-Smtp-Source: AIpwx48+rYT5gQuWT9xhYiIMaw2H3yP6bIz8rwE9AmhjgqcLCymZuskDb+U+tjpA9D1Bx5i8XoPRqw== X-Received: by 10.80.245.231 with SMTP id x36mr4908449edm.227.1522274880640; Wed, 28 Mar 2018 15:08:00 -0700 (PDT) Received: from devork.be ([2a02:168:581b::b89]) by smtp.gmail.com with ESMTPSA id i10sm2924187edl.40.2018.03.28.15.07.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Mar 2018 15:07:59 -0700 (PDT) Sender: Floris Bruynooghe Received: (nullmailer pid 202091 invoked by uid 469025); Wed, 28 Mar 2018 22:07:58 -0000 From: Floris Bruynooghe To: Justus Winter , David Bremner , "W. Trevor King" Cc: notmuch@notmuchmail.org Subject: Re: New Python bindings In-Reply-To: <87efk5f8yj.fsf@thinkbox.jade-hamburg.de> References: <5694CA65.8010400@fastmail.net> <20160112102329.4269.20741@thinkbox.jade-hamburg.de> <20160112185107.GA21580@odin.tremily.us> <87k1ucp6xb.fsf@tethera.net> <87po3x4tuc.fsf@thinkbox.jade-hamburg.de> <87efk5f8yj.fsf@thinkbox.jade-hamburg.de> Date: Thu, 29 Mar 2018 00:07:58 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Wed, 28 Mar 2018 22:08:06 -0000 On Wed, Mar 28 2018, Justus Winter wrote: > Floris Bruynooghe writes: > >> On Wed, Mar 21 2018, Justus Winter wrote: >>> >>> Floris Bruynooghe writes: >>> >>>> This is exactly what I have fixed in my alternative bindings which I >>>> created around the end of last year [0]. So we do have an idea of how >>>> to fix this, at the time I said I do believe that it's possible to also >>>> do this for the existing bindings even though it is a lot of work. >>>> After some talking between dkg and me we got to a way forward which >>>> proposed this, but I must admit that after messing a little with getting >>>> a pytest run integrated into the notmuch test-suite instead of using tox >>>> I lost momentum on the project and didn't advance any further. >>> >>> I'm sorry that I didn't speak up when you announced your work. I'm >>> actually excited about a new set of bindings for Python. I agree with >>> using cffi. I briefly looked at the code, and I believe it is much >>> nicer than what we currently have. >> >> Nice to hear, thanks! > > Thanks for all the work :) > >>> I trust that it works fine with Python 3, does it? >> >> The version I made so far *only* works on Python 3. Mostly because it >> was easier, but it also allows some API niceties. > > Reasonable choice. Which versions of Python 3 are supported? I am also > writing bindings and I am wondering which versions to target. Personally I consider python3.5, pypy3.5 and python3.6 the ones to target if I have no other constraints, which was the case here. For upstreaming into notmuch proper there are naturally other constraints ;-) But unless you need something specific I think 3.4 is when py3k became the better version than 2.7, everything below that is probably not worth it. All IMHO obviously. Cheers, Floris