[issue34844] logging.Formatter enhancement - Checking on style and fmt fields
Luna Chen
report at bugs.python.org
Mon Oct 1 16:58:40 EDT 2018
Luna Chen <luna at bnmetrics.com> added the comment:
Thank you Vinay!
I think you have some good points! :)
I'm going to make the following changes
- re-raise the keyError into ValueError in XXXStyle.format
- add validate() methods to XXXstyle class, and call them in logging.Formatter
Best regards,
Luna Chen
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34844>
_______________________________________
More information about the Python-bugs-list
mailing list