aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/simple.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-05-12python: Fix type translation.Justus Winter1-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]>
2016-05-11python: Fix simple example.Justus Winter1-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]>
2016-05-10python: Rename bindings.Justus Winter1-0/+0
-- Signed-off-by: Justus Winter <[email protected]>
2015-05-08String typeBen McGinnes1-1/+1
* the plain text string must be bytes and not unicode. * Expect most of the example code to have similar issues at present.
2015-05-05Python 3 port of PyMEBen McGinnes1-0/+52
* The entirety of the Python 3 port of PyME up to commit 2145348ec54c6027f2ea20f695de0277e2871405 * The old commit log has been saved as lang/py3-pyme/docs/old-commits.log * Can be viewed as a normal (separate) git repository at https://github.com/adversary-org/pyme3 * Utilising the submodule feature of git was deliberately skipped on humanitarian grounds (in order to prevent pain and suffering on the part of anyone having to manage this repository).