R. David Murray added the comment:

But not doing the format until the last moment is part of the design of logging 
(as low overhead as possible unless a message is actually emitted).

I suspect you are just going to have to pre-calculate that variable if you want 
to log it.  Let's see what Vinay thinks, though :)

----------
nosy: +r.david.murray, vinay.sajip

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25668>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to