whatsnew: logging.config.listen *verify* (#15452).

This commit is contained in:
R David Murray 2014-03-10 12:03:01 -04:00
parent 416616fc6f
commit c51ebce03b
2 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -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.