Home GnuPG
Diffusion GPGME 11314f0db6e5

python: Share generated methods between objects.
11314f0db6e5Unpublished

Unpublished Commit ยท Learn More

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

Description

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>

Details

Provenance
justusAuthored on May 12 2016, 6:29 PM
Parents
rMc5d118b2a76e: python: Raise exceptions on write errors.
Branches
Unknown
Tags
Unknown
References
justus/pyme3

Event Timeline

Justus Winter <justus@gnupg.org> committed rM11314f0db6e5: python: Share generated methods between objects. (authored by Justus Winter <justus@gnupg.org>).May 12 2016, 6:29 PM