[git] GPGME - branch, ben/cffi/test-001, created. gpgme-1.9.0-92-g5af53be

by Ben McGinnes cvs at cvs.gnupg.org
Mon Dec 11 00:34:37 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, ben/cffi/test-001 has been created
        at  5af53be26fb7c5a382ba1dea31ffbdf2e119daab (commit)

- Log -----------------------------------------------------------------
commit 5af53be26fb7c5a382ba1dea31ffbdf2e119daab
Author: Ben McGinnes <ben at adversary.org>
Date:   Mon Dec 11 10:31:54 2017 +1100

    Python CFFI
    
    * This is the future and eventually SWIG will be retired ... it might
      take a while, though.
    * Initial testing and proof-of-concept work.

diff --git a/lang/python-cffi/README.rst b/lang/python-cffi/README.rst
new file mode 100644
index 0000000..3d4beaa
--- /dev/null
+++ b/lang/python-cffi/README.rst
@@ -0,0 +1,26 @@
+Python CFFI Proof of Concept
+============================
+
+
+This is a proof-of-concept initial test for (eventually) switching fro the Python and SWIG bindings to a Python and CFFI method.
+
+This is intended to address multiple issues, including:
+
+* Interoperability between platforms
+* Easier maintenance
+* Greater interoperability with third party security modules (e.g. pyca/cryptography)
+
+It may also provide the following (no guarantees, though):
+
+* Use on Windows without massive errors (and complaints).
+* Use on PyPy as well as CPython and thus may eventually be integrated with other Python implementations (e.g. QPython on Android).
+* It might allow use of Python 3.2 and/or 3.3, but they're not super urgent since we're up to 3.6 now and the changes/improvements made by 3.4 are very useful anyway.
+
+The down sides are:
+
+* It requires a full re-implementation from scratch (during which the SWIG based version would need to remain active).
+* Windows will probably still require a special implementation just for itself (probably ABI out-of-line, while all other platformsuse API out-of-line; otherwise it also requires end users running various C compilers, this way we just need to build GPGME DLLs for Windows).
+* Will require dropping support for Python 2.6.
+* Might require dropping support for Python 2.7.
+* It may not generate bindings in the same way that SWIG does, but that's offset by making it castly simpler to do that manually and that part may become scriptable later anyway.
+

-----------------------------------------------------------------------


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list