You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the class docstring was not updated when the style parameter was added, in 3.2. So I think more change is needed. I will try to make a proposal later.
Activity
MarSoft commentedon Aug 16, 2018
There is a typo in the docstring for logging.Formatter:
I am sure it should be different (and in sync with the actual value):
The problem is in py2.7, py3.7 and most likely other versions.
terryjreedy commentedon Aug 17, 2018
The default format depends on the style. From 3.8:
It appears that the class docstring was not updated when the style parameter was added, in 3.2. So I think more change is needed. I will try to make a proposal later.
terryjreedy commentedon Aug 18, 2018
... the style-dependent default value, "%(message)s", "{message}", or "${message}", is used.
vsajip commentedon Aug 19, 2018
New changeset d3d3171 by Vinay Sajip in branch 'master':
bpo-34415: Updated logging.Formatter docstring. (GH-8811)
d3d3171
vsajip commentedon Aug 19, 2018
New changeset fed8718 by Vinay Sajip (Miss Islington (bot)) in branch '3.6':
bpo-34415: Updated logging.Formatter docstring. (GH-8811) (GH-8816)
fed8718
vsajip commentedon Aug 19, 2018
New changeset 2e4ae8f by Vinay Sajip (Miss Islington (bot)) in branch '3.7':
bpo-34415: Updated logging.Formatter docstring. (GH-8811) (GH-8817)
2e4ae8f