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

2013-02-13 Thread Enrique A Tobis
Enrique A Tobis added the comment: Thanks! Got it. Sorry for the noise. -- ___ Python tracker <http://bugs.python.org/issue17199> ___ ___ Python-bugs-list mailin

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

2013-02-12 Thread Enrique A Tobis
Changes by Enrique A Tobis : -- keywords: +patch Added file: http://bugs.python.org/file29054/mywork.patch ___ Python tracker <http://bugs.python.org/issue17

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

2013-02-12 Thread Enrique A Tobis
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) m