From: R David Murray Date: Mon, 10 Mar 2014 16:03:01 +0000 (-0400) Subject: whatsnew: logging.config.listen *verify* (#15452). X-Git-Tag: v3.4.1rc1~233^2~74 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c51ebce03b4d85d32e057d6fd54e91b8f7935015;p=python whatsnew: logging.config.listen *verify* (#15452). --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 834c914555..3ef10baed8 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -1014,6 +1014,11 @@ the application modifies the configuration before passing it to :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 index c729493cfb..cda67d6611 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -3638,6 +3638,10 @@ Library - 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.