New submission from Will Maier <[EMAIL PROTECTED]>: Currently, logging.config.fileConfig() inconsistently handles lines like:
[handlers] keys = spam, eggs [formatters] keys = foo, bar It does, however, correctly handle the ', ' delimiter in the [loggers] section. This is because the various _install_*() functions in logging.config aren't consistent about whether (and when) or not they strip whitespace when generating key names. Though the stdlib documentation only includes examples in the [handlers] and [formatters] section with ',' delimiters, it seems reasonable to expect that logging.config.fileConfig() should handle ', '. The attached test demonstrates the failure and suggests a solution. Thanks! whitespace ---------- components: Library (Lib) files: logging.diff keywords: patch messages: 72134 nosy: wcmaier severity: normal status: open title: Allow ',<whitespace>' delimiters in logging.config.fileConfig() type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file11304/logging.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3726> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com