[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)
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 
<http://bugs.python.org/issue17199>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue17199>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com