gpgme/lang
Tobias Mueller 3cf9aedc92
python: Default whence argument for Data() to SEEK_SET.
* lang/python/gpgme.i: copied signature from gpgme.h and defaulted the
value to SEEK_SET.
* lang/python/tests/t-data.py: Added a test for no second argument
--

Having to import the os package when wanting to read a Data object is a
slight annoyance. With SWIG, we can define default parameters. This
change defaults the whence argument to SEEK_SET which is how StringIO
and BytesIO behave.

Signed-off-by: Tobias Mueller <muelli@cryptobitch.de>
2017-12-04 08:10:06 +01:00
..
cl .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
cpp cpp: Wrap create_key and create_subkey 2017-12-01 13:21:34 +01:00
python python: Default whence argument for Data() to SEEK_SET. 2017-12-04 08:10:06 +01:00
qt qt: Add job for quick commands 2017-12-01 14:35:11 +01:00
Makefile.am build: Declare all languages for make dist. 2016-08-10 16:28:36 +02:00
README python: Rename Python module from PyME to gpg. 2016-10-31 15:42:27 +01:00

Language Support for GPGME
--------------------------

This directory contains support for other languages than C.

Please note that language support components may be under a different
license than GPGME itself.  You can find more information in each
sub-directory.

Directory	Language

cl		Common Lisp
cpp		C++
qt		Qt-Framework API
python		Python 2 and 3 (module name: gpg)