d90857a08c
* lang/python/helpers.c (pygpgme_stash_callback_exception): New function. (pygpgme_raise_callback_exception): Likewise. (pyPassphraseCb): Stash python errors. * lang/python/helpers.h (pygpgme_raise_callback_exception): New prototype. * lang/python/pyme/core.py ({Context,Data}.__init__): Move common initialization to superclass. (Context.set_progress_cb): Hand in 'self'. * lang/python/pyme/util.py (GpgmeWrapper.__init__): New function. (GpgmeWrapper.__getattr__): Raise stashed exceptions. * lang/python/tests/Makefile.am (py_tests): Add new test. * lang/python/tests/t-callbacks.py: New file. 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)