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

2013-02-13 Thread R. David Murray
R. David Murray added the comment: I would still consider it a bug myself, but I understand and accept that you feel it is not worth fixing. -- nosy: +r.david.murray ___ Python tracker

[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 ___ ___ Python-bugs-list mailing list Un

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

2013-02-13 Thread Vinay Sajip
Vinay Sajip added the comment: It's not a bug - the reason it's like that is that it allows conversion and format specifiers to be given - {field_name!conversion:format_spec}. Of course a more robust solution using regular expressions could be implemented, but it's not really worth it. If ther

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

2013-02-13 Thread R. David Murray
Changes by R. David Murray : -- type: enhancement -> behavior versions: +Python 3.2, Python 3.4 ___ Python tracker ___ ___ Python-bugs

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

2013-02-13 Thread R. David Murray
Changes by R. David Murray : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[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 ___ ___

[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: