mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 08:12:15 -04:00
* Hide exceptions that occur during session.close() This fixes #4840. Exceptions that are raised out of __del__ methods are caught and printed to stderr. By catching any exceptions that occur, we now prevent this from happening. Alternative solutions to this would have been either not calling session.close() at all or adding a close() method to acme.client.ClientNetwork, acme.client.Client, and certbot.client.Client and using certbot.client.Client in a context manager to ensure close() is called. The former means that users of the ACME library never properly close their connections until their program exits and the latter adds a lot of complexity and nesting of client code for little benefit. * Only catch Exceptions |
||
|---|---|---|
| .. | ||
| acme | ||
| docs | ||
| examples | ||
| LICENSE.txt | ||
| MANIFEST.in | ||
| README.rst | ||
| readthedocs.org.requirements.txt | ||
| setup.cfg | ||
| setup.py | ||
ACME protocol implementation in Python