gpgme/lang
Justus Winter ebfe2300c3 python: Fix object deallocation.
Handing a reference to the wrapper object created a non-trivial
circular reference that Pythons garbage collector is unable to break.
Explicitly break it by using a weak reference.

* lang/python/helpers.c (pygpgme_stash_callback_exception): Retrieve
object from weak reference.
* lang/python/pyme/core.py (Context.__del__): Free status callback.
(Context.set_passphrase_cb): Use a weak reference.
(Context.set_progress_cb): Likewise.
(Context.set_status_cb): Likewise.
(Context.op_edit): Likewise.

Signed-off-by: Justus Winter <justus@gnupg.org>
2016-05-27 12:25:59 +02:00
..
cl .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
cpp Cpp: Ignore STATUS_KEY_CONSIDERED when editing 2016-05-20 16:03:08 +02:00
python python: Fix object deallocation. 2016-05-27 12:25:59 +02:00
qt Qt: Fix test build with clang 2016-05-24 16:00:42 +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)