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 B8D296DE0EDB for ; Tue, 8 Oct 2019 14:03:37 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.202 X-Spam-Level: X-Spam-Status: No, score=-0.202 tagged_above=-999 required=5 tests=[AWL=-0.351, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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 BKoahFdpg_A6 for ; Tue, 8 Oct 2019 14:03:37 -0700 (PDT) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by arlo.cworth.org (Postfix) with ESMTPS id EDA626DE0ED9 for ; Tue, 8 Oct 2019 14:03:36 -0700 (PDT) Received: by mail-ed1-f52.google.com with SMTP id c4so118651edl.0 for ; Tue, 08 Oct 2019 14:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=OvaIFhw0x04yZIdtHwbQxT7JeEK1kJrqwT1dw9JFIjo=; b=FeEwmruN6ki8+qTFsltOffOdmVxoR8/RtRWfS0vBtN8xUoFE/JM5d5ZsP9+aQMUYn1 92aaWN6A/4RXDSClKQ0yaNa2VC6BiNOsS+KwzHB3Ge03dhuAAKCLW+zRGhRHsUKw9v31 KmtXMezw5gG/G7YgrWQvOzVb60eYUUMu2uUZSmhFEQixRK4eFCZ+h7sJAdZuAPkmk9M+ tWaQ411HSLXsg/VI2L1v4Jp5jcoLHu1l0thLRojUTHZmV5GNxvoMyBHx8BsmaDJM29Q5 1CAnWIUmy7VmoZzPCpbPtkPBK8+/wSCnoiYrzJfa/vrzgkDvoEYb8o4924xTIiJAStUP CzGA== 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:subject:date:message-id :mime-version:content-transfer-encoding; bh=OvaIFhw0x04yZIdtHwbQxT7JeEK1kJrqwT1dw9JFIjo=; b=AAyHsCaeb3qIaU3sPC5Tu5sxb3eG0u7FOasASEaYCu4CuvcbfMQyHoZEhlM6jDm3yg xmfNGGNxt9asqkhsWd3EmWgCmEDTIzsnW6xECnt8aSmPCbeKdzii/1+/GwXOCiHuYYKT 3jCrBfBzIBKUyGmyW/nJaK3fJIs+sn8j4H+xkUexw30X8DDEJjmkRObqHx1gJymOf2wi XqLSLTp/hW/prTFzjxGGeIaJcVjR1k66yogQOrV2RrugV+ZryDcDQwG8EqbGB9u2lj7a AeEGojhNQSPX3kaaFc9JJTZTaU4D2FfqaYnIniZ66RLRk542RehEMeBnEyXdubLc4205 lDQg== X-Gm-Message-State: APjAAAXBwPTCVcQ7nnKAFHsdlJNaCRH8cmVkCOoUHfnxDbManlc0YS5F OJfUsMv0CnNUah1JVnqeuKFFaeOF+WY= X-Google-Smtp-Source: APXvYqwFntz2x/LmTYRG67haI0wCE6RfX6kCiEqRuulJPoVyRiBs+1w4PnJ8h+B35qB44b8DrjAv1Q== X-Received: by 2002:a05:6402:3046:: with SMTP id bu6mr17359edb.276.1570568613590; Tue, 08 Oct 2019 14:03:33 -0700 (PDT) Received: from powell.devork.be ([2a02:168:59e9::7a3]) by smtp.gmail.com with ESMTPSA id r18sm16509edl.6.2019.10.08.14.03.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 14:03:32 -0700 (PDT) Sender: Floris Bruynooghe Received: (nullmailer pid 20880 invoked by uid 1000); Tue, 08 Oct 2019 21:03:31 -0000 From: Floris Bruynooghe To: notmuch@notmuchmail.org Subject: Python3 cffi bindings Date: Tue, 8 Oct 2019 23:03:11 +0200 Message-Id: <20191008210312.20685-1-flub@devork.be> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Tue, 08 Oct 2019 21:03:37 -0000 Hi all, IIRC there was a thread in August about another attempt at bringing the CFFI-based bindings on board as a Python3-only version. I believe there was a desire to re-name things but my searching-fu is failing me and I can no longer find the email thread. Anyway, I found the code, checked things work, updated tests on new python versions, added a very basic intergration with the test framework and squashed the commits. Otherwise the attached patch is just a plain dump of the current state so interested people have at least a copy of the code again which can be made to work. IIRC this probably wants to be renamed to "notmuch2" instead of "notdb". Otherwise I'm pretty sure this doesn't cover all the current features either. So maybe this can be used as a start to figure out how to merge this if there's still an interest in this. Cheers, Floris