ebfe2300c3
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> |
||
---|---|---|
.. | ||
cl | ||
cpp | ||
python | ||
qt | ||
Makefile.am | ||
README |
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)