mirror of
https://github.com/python/cpython.git
synced 2025-10-25 15:58:57 +00:00
GH-127712: Fix `secure` argument of `logging.handlers.SMTPHandler` Python 3.12 removed support for the `keyfile` and `certfile` parameters in `smtplib.SMTP.starttls()`, requiring a `ssl.SSLContext` instead. `SMTPHandler` now creates a context from the `secure` tuple and passes that to `starttls`. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config.py | ||
| handlers.py | ||