Home GnuPG
Diffusion GPGME 09803c4a81b9

python: Improve support for edit callbacks.
09803c4a81b9Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

python: Improve support for edit callbacks.

* lang/python/helpers.c (pyEditCb): Stash exceptions.
* lang/python/pyme/core.py (Context.op_edit): Hand in 'self'.
* lang/python/tests/Makefile.am (py_tests): Add new test.
* lang/python/tests/t-callbacks.py: Test edit callbacks.
* lang/python/tests/t-edit.py: New file.
  • Signed-off-by: Justus Winter <justus@gnupg.org>

Details

Provenance
justusAuthored on May 24 2016, 12:29 PM
Parents
rM283f0bdc3d32: python: Fix hook.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@gnupg.org> committed rM09803c4a81b9: python: Improve support for edit callbacks. (authored by Justus Winter <justus@gnupg.org>).May 24 2016, 1:13 PM