aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/pyme (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* python: Handle interpreter shutdown.Justus Winter2016-05-121-8/+22
| | | | | | | | | * lang/python/pyme/core.py: Avoid races at interpreter shutdown. This silences the most annoying occurrences, however this problem also affects the SWIG generated code, which might indicate that the real problem is somewhere else. If so, this change can be easily reverted. Signed-off-by: Justus Winter <[email protected]>
* python: Fix type translation.Justus Winter2016-05-121-5/+6
| | | | | | | | | | | | * 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: Delete trailing whitespace.Justus Winter2016-05-104-18/+18
| | | | | -- Signed-off-by: Justus Winter <[email protected]>
* python: Rename bindings.Justus Winter2016-05-1021-0/+1047
-- Signed-off-by: Justus Winter <[email protected]>