(original) (raw)
changeset: 89567:fe1804387687 user: R David Murray rdmurray@bitdance.com date: Mon Mar 10 12:03:01 2014 -0400 files: Doc/whatsnew/3.4.rst Misc/NEWS description: whatsnew: logging.config.listen *verify* (#15452). diff -r 113341605247 -r fe1804387687 Doc/whatsnew/3.4.rst --- a/Doc/whatsnew/3.4.rst Mon Mar 10 11:51:19 2014 -0400 +++ b/Doc/whatsnew/3.4.rst Mon Mar 10 12:03:01 2014 -0400 @@ -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 -r 113341605247 -r fe1804387687 Misc/NEWS --- a/Misc/NEWS Mon Mar 10 11:51:19 2014 -0400 +++ b/Misc/NEWS Mon Mar 10 12:03:01 2014 -0400 @@ -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. /rdmurray@bitdance.com