Hello!
In gpg.constants, there is a subclass/attribute named "import". However, this is a forbidden keyword per python (because of the "import" statement):
>>> import keyword
>>> keyword.iskeyword('import')
Trueleading to strange errors like this:
>>> import gpg
>>> gpg.constants.import.NEW
File "<stdin>", line 1
gpg.constants.import.NEW
^
SyntaxError: invalid syntaxperhaps change gpg.constants.import to gpg.constants.import_type?