cpython/Lib/logging
s-hamann d7672e5d5a
gh-127712: Fix `secure` argument of `logging.handlers.SMTPHandler` (GH-127726)
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`.
2025-02-10 12:34:27 +00:00
..
__init__.py gh-105376: Restore deprecated logging warn() method (#122775) 2024-08-09 15:13:24 +02:00
config.py gh-124653: Relax (again) detection of queue API for logging handlers (GH-124897) 2024-10-07 19:42:19 +01:00
handlers.py gh-127712: Fix `secure` argument of `logging.handlers.SMTPHandler` (GH-127726) 2025-02-10 12:34:27 +00:00