aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* python: Fix type translation.Justus Winter2016-05-121-3/+3
| | | | | | | | | | | | * lang/python/gpgme.i: Adjust to Python3's string type being 'Unicode', not 'bytes'. Fix type checking. * lang/python/core.py (Data.write): Add docstring mentioning the expected type of parameter 'buffer'. (Data.read): Adjust read loop. Also, use a saner chunk size, and join all chunks at the end instead of adding them. * lang/python/examples/simple.py: Adjust example. Signed-off-by: Justus Winter <[email protected]>
* python: Fix simple example.Justus Winter2016-05-111-1/+2
| | | | | | | * lang/python/examples/simple.py: Flush stdout, encode name as UTF-8 before passing it to GPGME. Signed-off-by: Justus Winter <[email protected]>
* python: PEP8 fixes.Justus Winter2016-05-104-33/+38
| | | | | | Cherry picked from 0267c151. Signed-off-by: Justus Winter <[email protected]>
* python: Delete trailing whitespace.Justus Winter2016-05-105-8/+4
| | | | | -- Signed-off-by: Justus Winter <[email protected]>
* python: Rename bindings.Justus Winter2016-05-1012-0/+655
-- Signed-off-by: Justus Winter <[email protected]>