Thomas Güttler writes:
 > Am Fr., 11. Juni 2021 um 03:17 Uhr schrieb Stephan Hoyer <[email protected]>:

 > > Unevaluated f-strings is a nice way to think about this
 > > functionality.

But they're not "unevaluated" in a lot of important ways.  A better
term might be "pre-assembled". :-)

 > > Another use-case that comes to mind is logging. The Google Python style
 > > guide says not to use f-strings, for example, because it wants to be able
 > > to collect the unexpanded pattern strings and not waste time rendering
 > > unlogged messages:
 > > https://google.github.io/styleguide/pyguide.html#3101-logging
 > 
 > Thank you Stephan for this feedback. I added Logging to the draft:
 > https://github.com/guettli/peps/blob/master/pep-9999.rst#logging

If this does solve the logging problem, it would be a killer app (but
that still might not be enough, given that PEP 501 couldn't clear the
bar and logging was a leading application for that PEP).  Perhaps you
should focus on that rather than the HTML escaping problem.

Steve
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/KSZP5BL26S37N4M6IINMV2JADCX6QAWC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to