[issue17199] Slightly wrong behavior of logging.StrFormatStyle.usesTime

Enrique A Tobis report at bugs.python.org
Wed Feb 13 05:47:57 CET 2013


New submission from Enrique A Tobis:

import logging

f = logging.StrFormatStyle('{asctimer}')
print(f.usesTime())
f = logging.PercentStyle('%(astimer)s')
print(f.usesTime())

prints

True
False

and I think it should print

False
False

----------
components: Library (Lib)
messages: 181992
nosy: etobis
priority: normal
severity: normal
status: open
title: Slightly wrong behavior of logging.StrFormatStyle.usesTime
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17199>
_______________________________________


More information about the Python-bugs-list mailing list