gpgme/lang/python/pyme
Justus Winter bf188e280b python: Fix reading data from existing files.
* lang/python/pyme/core.py (Data.__init__): Add 'copy' kwargument, and
pass it to functions supporting it.  PEP8 fix.
(Data.new_from_fd): PEP8 fix.
(Data.new_from_file): Give a more helpful error message if copy is
False.  PEP8 fix.
(Data.new_from_fd): Hand the file descriptor to
'gpgme_data_new_from_fd', not a stream.  Fix docstring.
* lang/python/tests/t-data.py: Add tests for this.

Signed-off-by: Justus Winter <justus@gnupg.org>
2016-05-27 12:18:29 +02:00
..
constants python: Rename bindings. 2016-05-10 13:19:26 +02:00
__init__.py python: Clean up examples. 2016-05-17 14:22:22 +02:00
callbacks.py python: Delete trailing whitespace. 2016-05-10 13:30:30 +02:00
core.py python: Fix reading data from existing files. 2016-05-27 12:18:29 +02:00
errors.py python: Make all GnuPG errors available. 2016-05-24 18:00:16 +02:00
util.py python: Move the base wrapper class. 2016-05-24 18:00:16 +02:00
version.py python: Rename bindings. 2016-05-10 13:19:26 +02:00