cpython: fe1804387687 (original) (raw)

Mercurial > cpython

changeset 89567:fe1804387687

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

R David Murray rdmurray@bitdance.com
date Mon, 10 Mar 2014 12:03:01 -0400
parents 113341605247
children 69e589e5eb1a
files Doc/whatsnew/3.4.rst Misc/NEWS
diffstat 2 files changed, 9 insertions(+), 0 deletions(-)[+] [-] Doc/whatsnew/3.4.rst 5 Misc/NEWS 4

line wrap: on

line diff

--- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -1014,6 +1014,11 @@ the application modifies the configurati :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:

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -3638,6 +3638,10 @@ Library