[issue41782] No f-string in logging.basicConfig()

Eric V. Smith report at bugs.python.org
Mon Sep 14 09:52:38 EDT 2020


Eric V. Smith <eric at trueblade.com> added the comment:

Since an f-string just evaluates to a regular string at the call site, before any logging code is invoked, there's nothing for the logging code to do. As far as it's concerned, it just gets a regular string.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41782>
_______________________________________


More information about the Python-bugs-list mailing list