cpython/Lib/logging
Serhiy Storchaka e8ac9c4369
gh-135683: Honor raiseExceptions when opening the file fails in FileHandler (GH-154542)
FileHandler and WatchedFileHandler opened the file outside the try block
that reports errors via handleError(), so an error while opening the file
was raised instead of being handled, ignoring raiseExceptions.

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-19 18:43:24 +03:00
..
__init__.py gh-135683: Honor raiseExceptions when opening the file fails in FileHandler (GH-154542) 2026-09-19 18:43:24 +03:00
config.py Update logging.config.listen() docstrings to mention dictConfig() (GH-155479) 2026-08-10 19:19:26 +01:00
handlers.py gh-135683: Honor raiseExceptions when opening the file fails in FileHandler (GH-154542) 2026-09-19 18:43:24 +03:00