cpython: 113341605247 (original) (raw)
Mercurial > cpython
changeset 89566:113341605247
whatsnew: logging.fileConfig accepts ConfigParser instances. (#16110) And missing NEWS entry. [#16110]
R David Murray rdmurray@bitdance.com | |
---|---|
date | Mon, 10 Mar 2014 11:51:19 -0400 |
parents | 1cc413874631 |
children | fe1804387687 |
files | Doc/whatsnew/3.4.rst Misc/NEWS |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-)[+] [-] Doc/whatsnew/3.4.rst 8 Misc/NEWS 3 |
line wrap: on
line diff
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1006,6 +1006,14 @@ happen. (Contributed by Ronald Oussoren
setting port to None
). (Contributed by Vinay Sajip in commit
ce46195b56a9.)
+:func:~logging.config.fileConfig
now accepts a
+:class:configparser.RawConfigParser
subclass instance for the fname
+parameter. This facilitates using a configuration file when logging
+configuration is just a part of the overall application configuration, or where
+the application modifies the configuration before passing it to
+:func:~logging.config.fileConfig
. (Contributed by Vinay Sajip in
+:issue:16110
.)
+
.. _whatsnew-marshal-3:
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -3617,6 +3617,9 @@ Library