gpgme/lang
Justus Winter a324d0cffe python: Make result objects more robust.
Results returned by the GPGME are fragile, i.e. they are only valid
until the next operation is performed in the context.

We cannot arbitrarily constrain the lifetime of Python objects, we
therefore create deep copies of the results.

* lang/python/gpgme.i (gpgme_tofu_info_t): Turn these into a list.
(gpgme_*_result_t): Create deep copies of these objects.
* lang/python/helpers.c (pygpgme_wrap_fragile_result): New function.
* lang/python/helpers.h (pygpgme_wrap_fragile_result): New prototype.
* lang/python/pyme/results.py: New file.

Signed-off-by: Justus Winter <justus@g10code.com>
2016-06-16 14:19:17 +02:00
..
cl .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
cpp Cpp: Use whitelist for status messages 2016-06-01 13:48:28 +02:00
python python: Make result objects more robust. 2016-06-16 14:19:17 +02:00
qt Qt: Fix debug output in t-ownertrust 2016-06-01 13:48:28 +02:00
Makefile.am python: Rename bindings. 2016-05-10 13:19:26 +02:00
README Merge branch 'justus/pyme3' 2016-05-17 15:10:28 +02:00

Language Support for GPGME
--------------------------

This directory contains support for other languages than C.

Please note that language support components may be under a different
license than GPGME itself.  You can find more information in each
sub-directory.

Directory	Language

cl		Common Lisp
cpp		C++
qt		Qt-Framework API
python		Python 3 (port of PyME 0.9.0)