[gpgme] python3.4 codegen of gpg/gpgme.py is corrupted

Justus Winter justus at g10code.com
Wed Mar 29 11:36:18 CEST 2017


Alon Bar-Lev <alon.barlev at gmail.com> writes:

> Hi,
>
> When building using python2.7 gpg/gpgme.py is generated ok.
>
> When building using python3.4 it is corrupted, examples:
> ---
> def gpgme_err_make(source: 'gpgme_err_source_t', code:
> 'gpgme_err_code_t') -> "gpgme_error_t":
>     """gpgme_err_make(source, code) -> gpgme_error_t"""
>     return _gpgme.gpgme_err_make(source, code)
>
> def gpgme_error(code: 'gpgme_err_code_t') -> "gpgme_error_t":
>     """gpgme_error(code) -> gpgme_error_t"""
>     return _gpgme.gpgme_error(code)
>
> def gpgme_err_code(err: 'gpgme_error_t') -> "gpgme_err_code_t":
>     """gpgme_err_code(err) -> gpgme_err_code_t"""
>     return _gpgme.gpgme_err_code(err)
> ---
>
> Please advise.

What makes you say the code is corrupted?  I assume that your MUA
introduced linebreaks, but otherwise this looks ok.

Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170329/a8e0f8af/attachment.sig>


More information about the Gnupg-devel mailing list