<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang, branch justus/pyme3</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=justus%2Fpyme3</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=justus%2Fpyme3'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2016-05-12T16:29:04Z</updated>
<entry>
<title>python: Share generated methods between objects.</title>
<updated>2016-05-12T16:29:04Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T16:29:04Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=11314f0db6e57597e3f56351a86fdb36a7a17dd7'/>
<id>urn:sha1:11314f0db6e57597e3f56351a86fdb36a7a17dd7</id>
<content type='text'>
* lang/python/pyme/util.py (GpgmeWrapper.__getattr__): Monkey-patch
the class.
* lang/python/tests/t-wrapper.py: Demonstrate the sharing.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Raise exceptions on write errors.</title>
<updated>2016-05-12T16:01:24Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T16:00:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c5d118b2a76e9528df780d11da9566ff7c22e4f5'/>
<id>urn:sha1:c5d118b2a76e9528df780d11da9566ff7c22e4f5</id>
<content type='text'>
* lang/python/pyme/core.py (Data.write): Handle errors.
* lang/python/pyme/errors.py (GPGMEError.fromSyserror): New function.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Fix writing to data buffers.</title>
<updated>2016-05-12T15:59:21Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T15:44:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f7094d8358e933f3ce074eade7a40b2a7d291180'/>
<id>urn:sha1:f7094d8358e933f3ce074eade7a40b2a7d291180</id>
<content type='text'>
* lang/python/gpgme.i: Add typemap for buffers.
* lang/python/pyme/core.py (Data.write): Fix function.
* lang/python/tests/Makefile.am: Add new test.
* lang/python/tests/t-data.py: New file.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Add a test suite.</title>
<updated>2016-05-12T13:37:00Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T13:27:50Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e64bffe0307d14204b00a177a472cd4f99c07561'/>
<id>urn:sha1:e64bffe0307d14204b00a177a472cd4f99c07561</id>
<content type='text'>
* configure.ac: Add new Makefile.
* lang/python/Makefile.am: Add subdirectory.
* lang/python/tests/Makefile.am: New file.
* lang/python/tests/t-wrapper.py: Likewise.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Cache generated wrapper functions.</title>
<updated>2016-05-12T12:57:42Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T12:57:42Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ed0ce84fbd2904bf59ac66ae7422716db3624efa'/>
<id>urn:sha1:ed0ce84fbd2904bf59ac66ae7422716db3624efa</id>
<content type='text'>
* lang/python/util.py (GpgmeWrap.__getattr__): Cache generated wrapper
functions.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Fix function invocation.</title>
<updated>2016-05-12T10:59:05Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T10:54:15Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e3d3d366bd1a1aea8a38ae5dcbf71ea3c784e920'/>
<id>urn:sha1:e3d3d366bd1a1aea8a38ae5dcbf71ea3c784e920</id>
<content type='text'>
* lang/python/pyme/core.py (Data.new_from_fd): Fix function
invocation.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Fix name of exception, make slot methods explicit.</title>
<updated>2016-05-12T10:59:05Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T10:51:30Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=af9371eb63664c92fb67e8e7e03cc984e7d38a7f'/>
<id>urn:sha1:af9371eb63664c92fb67e8e7e03cc984e7d38a7f</id>
<content type='text'>
* lang/python/pyme/util.py (GpgmeWrapper._getctype): Fix exception,
add docstring.
(GpgmeWrapper._getnameprepend): New function.
(GpgmeWrapper._errorcheck): Likewise.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Handle interpreter shutdown.</title>
<updated>2016-05-12T09:53:43Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T09:53:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ce5121ad53b0e17fbf9150b354c80da73f7fe190'/>
<id>urn:sha1:ce5121ad53b0e17fbf9150b354c80da73f7fe190</id>
<content type='text'>
* 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 &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Make test case more robust.</title>
<updated>2016-05-12T09:51:21Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T09:51:21Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c89d3a71ad20ff02755539a44f254b1e59054c4a'/>
<id>urn:sha1:c89d3a71ad20ff02755539a44f254b1e59054c4a</id>
<content type='text'>
* lang/python/examples/t-edit.py: Check if key is found.

Signed-off-by: Justus Winter &lt;justus@gnupg.org&gt;
</content>
</entry>
<entry>
<title>python: Fix type translation.</title>
<updated>2016-05-12T09:49:17Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-12T09:21:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d60deb8a127fb35c01acc729f33b014840af0e7b'/>
<id>urn:sha1:d60deb8a127fb35c01acc729f33b014840af0e7b</id>
<content type='text'>
* 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 &lt;justus@gnupg.org&gt;
</content>
</entry>
</feed>
