[Python-checkins] cpython: whatsnew: logging.config.listen *verify* (#15452).

r.david.murray python-checkins at python.org
Mon Mar 10 23:11:35 CET 2014


http://hg.python.org/cpython/rev/fe1804387687
changeset:   89567:fe1804387687
user:        R David Murray <rdmurray at bitdance.com>
date:        Mon Mar 10 12:03:01 2014 -0400
summary:
  whatsnew: logging.config.listen *verify* (#15452).

files:
  Doc/whatsnew/3.4.rst |  5 +++++
  Misc/NEWS            |  4 ++++
  2 files changed, 9 insertions(+), 0 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1014,6 +1014,11 @@
 :func:`~logging.config.fileConfig`.  (Contributed by Vinay Sajip in
 :issue:`16110`.)
 
+Logging configuration data received from a socket via the
+:func:`logging.config.listen` function can now be validated before being
+processed by supplying a verification function as the argument to the new
+*verify* keyword argument. (Contributed by Vinay Sajip in :issue:`15452`.)
+
 
 .. _whatsnew-marshal-3:
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -3638,6 +3638,10 @@
 - Issue #9650: List commonly used format codes in time.strftime and
   time.strptime docsttings.  Original patch by Mike Hoy.
 
+- Issue #15452: logging configuration socket listener now has a verify option
+  that allows an application to apply a verification function to the
+  received configuration data before it is acted upon.
+
 - Issue #16034: Fix performance regressions in the new `bz2.BZ2File`
   implementation.  Initial patch by Serhiy Storchaka.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list