[Python-ideas] PEP 501 - i18n with marked strings

Stephen J. Turnbull stephen at xemacs.org
Tue Aug 11 14:41:11 CEST 2015


Petr Viktorin writes:

 > Well, if you want to get the equivalent of:
 > 
 >     _("Hello there, {name}").format(name=name)
 > 
 > you can't use:
 > 
 >     _(f"Hello there, {name}")

This is the "eager vs lazy" interpolation issue that also affects the
logging use case, right?



More information about the Python-ideas mailing list