Using python-gnupg on Python3.
Hangs, only cleared with ^c
 File "/usr/lib/python3.5/site-packages/gnupg.py", line 1254, in search_keys
  self._collect_output(p, result, stdin=p.stdin)
 File "/usr/lib/python3.5/site-packages/gnupg.py", line 898, in _collect_output
  dr.join()
 File "/usr/lib64/python3.5/threading.py", line 1054, in join
  self._wait_for_tstate_lock()
 File "/usr/lib64/python3.5/threading.py", line 1070, in _wait_for_tstate_lock
  elif lock.acquire(block, timeout):
KeyboardInterrupt
Seems to relate?
Related code is
encrypted_ascii_data = gpg.encrypt(data,
                  symmetric=True,
                  passphrase=secret,
                  sign=True,
                  recipients=None)Â
data is  a simple string
passphrase obtained from console.
Having locked up, it seems to remain locked.Â
Suggestions please.Â