Home GnuPG
Diffusion GPGME f8d99bb9e4a7

python: Don't call __del__ from __exit__ method.

Description

python: Don't call del from exit method.

* lang/python/src/core.py (Context, Data): Don't call __del__
from __exit__ method, as the object may be still in use.
* lang/python/tests/t-idiomatic.py: Fix the test.
  • GnuPG-bug-id: T6060
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>