Update logging.config.listen() docstrings to mention dictConfig() - #155479
Conversation
|
This also affects the 3.13, 3.14, and 3.15 branches. Should this be backported to these branches as well? @vsajip |
|
GH-155528 is a backport of this pull request to the 3.13 branch. |
|
GH-155529 is a backport of this pull request to the 3.14 branch. |
|
GH-155530 is a backport of this pull request to the 3.15 branch. |
|
|
|
|
|
…thonGH-155479) logging.config.listen() docstring had omitted dictConfig() support.
The
logging.config.listen()docstring only mentionsfileConfig(),but the implementation first attempts to process JSON configurations usingdictConfig()and falls back tofileConfig().Update the public docstring and the two related local docstrings to describe both supported configuration mechanisms.