Justus Winter
|
11314f0db6
|
python: Share generated methods between objects.
* lang/python/pyme/util.py (GpgmeWrapper.__getattr__): Monkey-patch
the class.
* lang/python/tests/t-wrapper.py: Demonstrate the sharing.
Signed-off-by: Justus Winter <justus@gnupg.org>
|
2016-05-12 18:29:04 +02:00 |
|
Justus Winter
|
ed0ce84fbd
|
python: Cache generated wrapper functions.
* lang/python/util.py (GpgmeWrap.__getattr__): Cache generated wrapper
functions.
Signed-off-by: Justus Winter <justus@gnupg.org>
|
2016-05-12 14:57:42 +02:00 |
|
Justus Winter
|
af9371eb63
|
python: Fix name of exception, make slot methods explicit.
* lang/python/pyme/util.py (GpgmeWrapper._getctype): Fix exception,
add docstring.
(GpgmeWrapper._getnameprepend): New function.
(GpgmeWrapper._errorcheck): Likewise.
Signed-off-by: Justus Winter <justus@gnupg.org>
|
2016-05-12 12:59:05 +02:00 |
|
Justus Winter
|
aade53a12b
|
python: Delete trailing whitespace.
--
Signed-off-by: Justus Winter <justus@gnupg.org>
|
2016-05-10 13:30:30 +02:00 |
|
Justus Winter
|
f4ba16b31e
|
python: Rename bindings.
--
Signed-off-by: Justus Winter <justus@gnupg.org>
|
2016-05-10 13:19:26 +02:00 |
|