gpgme/lang/python/pyme
Justus Winter 8b57f06e0c python: Support status callbacks.
* lang/python/helpers.c (pyStatusCb): New function.
(pygpgme_set_status_cb): Likewise.
* lang/python/helpers.h (pygpgme_set_status_cb): New prototype.
* lang/python/pyme/core.py (Context.__init__): Initialize
'last_statuscb'.
(Context._free_statuscb): New function.
(Context.set_status_cb): Likewise.
* lang/python/tests/t-callbacks.py: Test status callbacks.

Signed-off-by: Justus Winter <justus@gnupg.org>
2016-05-24 18:00:16 +02:00
..
constants python: Rename bindings. 2016-05-10 13:19:26 +02:00
__init__.py python: Clean up examples. 2016-05-17 14:22:22 +02:00
callbacks.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
core.py python: Support status callbacks. 2016-05-24 18:00:16 +02:00
errors.py python: Raise exceptions on write errors. 2016-05-12 18:01:24 +02:00
util.py python: Robust exception handling in callbacks. 2016-05-19 15:58:45 +02:00
version.py python: Rename bindings. 2016-05-10 13:19:26 +02:00