Under Python 2.7, it's not possible to use a path containing non-ascii characters in the gnupghome path.
GPG(gnupghome=u'./Kévin') will raise an
GPG(gnupghome=u'./Kévin'.encode(sys.getfilesystemencoding())) seems to work fine, all subsequent calls to
export_keys() raise an
I've not tested all methods, but there is probably others methods who have the same problem.
Note: my filesystem encoding is latin1.