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 9BBF46DE3F6C for ; Wed, 21 Mar 2018 03:16:21 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.665 X-Spam-Level: X-Spam-Status: No, score=-0.665 tagged_above=-999 required=5 tests=[AWL=0.034, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 dCA4_LL02Tu3 for ; Wed, 21 Mar 2018 03:16:20 -0700 (PDT) Received: from avior.uberspace.de (avior.uberspace.de [185.26.156.32]) by arlo.cworth.org (Postfix) with ESMTPS id B07F46DE3F40 for ; Wed, 21 Mar 2018 03:16:18 -0700 (PDT) Received: (qmail 3047 invoked from network); 21 Mar 2018 10:16:13 -0000 Received: from localhost (HELO thinkbox) (127.0.0.1) by avior.uberspace.de with SMTP; 21 Mar 2018 10:16:13 -0000 Received: from teythoon by thinkbox with local (Exim 4.90_1) (envelope-from ) id 1eyamx-0003Yp-K8; Wed, 21 Mar 2018 11:16:11 +0100 From: Justus Winter To: Floris Bruynooghe , David Bremner , "W. Trevor King" Cc: notmuch@notmuchmail.org Subject: New Python bindings (was: Crash with Python bindings) In-Reply-To: References: <5694CA65.8010400@fastmail.net> <20160112102329.4269.20741@thinkbox.jade-hamburg.de> <20160112185107.GA21580@odin.tremily.us> <87k1ucp6xb.fsf@tethera.net> Date: Wed, 21 Mar 2018 11:16:11 +0100 Message-ID: <87po3x4tuc.fsf@thinkbox.jade-hamburg.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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, 21 Mar 2018 10:16:21 -0000 --=-=-= Content-Type: text/plain Hi Floris :) 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. I trust that it works fine with Python 3, does it? The testsuite cannot depend on pulling stuff from the net simply because build servers typically do not have access to it. That is a hard requirement. I don't remember what kind of tests there are for the current bindings (are there any...?), but shouldn't these just continue to work for the time being? Thanks, Justus --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEJWpOVeSnLZetJGjniNx+MzhfeR0FAlqyMOsACgkQiNx+Mzhf eR2GnwgAp/XSSnQXTz+/bM41ahEEKEkAJxhXnXMhsGppvEYfe7DQur7ftgfqgFa3 aH/Wl375w2z4hofDK1hOZeogq1icbSSXQvYNxd3XhG/DRSZZejHOun8DCl0g+VOX NF+x9FjYl/nigbOoub7qLts/OQED6OC0ufZht98iLRHqCrIhDbErKheAoBFtYgVO gN+qiW16yzxYpjEsYfwvmSKugVGh9QV13cP2BkAeeu7YbzxurDaTScTfGA78rOas d5w8k5ePsa0IKFLeaRSmdrpQWdx+Jtt4zrFSiAVAQwVUhEe99trHw9uZYWMSxV+s fZDniv9qG/Px502Kdeu9+vguV0MZCg== =Ws+9 -----END PGP SIGNATURE----- --=-=-=--