gpgme/lang/python/examples
Justus Winter a458e7fe20 python: Adapt to 'gpgme_op_interact'.
* lang/python/examples/inter-edit.py: Update example.
* lang/python/gpgme.i (gpgme_edit_cb_t): Turn into
'gpgme_interact_cb_t'.
* lang/python/helpers.c (_pyme_edit_cb): Turn into
'_pyme_interact_cb_t'.
* lang/python/private.h (_pyme_edit_cb): Likewise.
* lang/python/pyme/constants/__init__.py: Replace numeric status codes
with the keywords.
* lang/python/pyme/constants/status.py: Likewise.
* lang/python/pyme/core.py (Context.interact): New method.
(Context.op_edit): Deprecate, update docstring, implement using
Context.interact.
* lang/python/tests/t-edit.py: Test both interfaces.

Signed-off-by: Justus Winter <justus@g10code.com>
2016-09-16 14:56:29 +02:00
..
assuan.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
decryption-filter.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
delkey.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
encrypt-to-all.py python: Trim imports. 2016-09-14 14:35:00 +02:00
exportimport.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
genkey.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
inter-edit.py python: Adapt to 'gpgme_op_interact'. 2016-09-16 14:56:29 +02:00
sign.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
signverify.py python: Trim imports. 2016-09-14 14:35:00 +02:00
simple.py python: Trim imports. 2016-09-14 14:35:00 +02:00
testCMSgetkey.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
verifydetails.py python: Trim imports. 2016-09-14 14:35:00 +02:00