]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103606: raise RuntimeError if config file is invalid or empty (#104701)
authorPrince Roshan <princekrroshan01@gmail.com>
Sat, 20 May 2023 22:26:49 +0000 (03:56 +0530)
committerGitHub <noreply@github.com>
Sat, 20 May 2023 22:26:49 +0000 (22:26 +0000)
commit12f1581b0c43f40a792c188e17d2dea2357debb3
tree8fe49fd21b2b75f5fce951216c25ad42fafebd18
parent27a68be77f7a5bfb7c4b97438571b4fcf5aae8b4
gh-103606: raise RuntimeError if config file is invalid or empty (#104701)

(this adjusts new code) raise RuntimeError if provided config file is invalid or empty, not ValueError.
Doc/library/logging.config.rst
Lib/logging/config.py
Lib/test/test_logging.py