<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 17, 2015 at 12:23 PM, Nikolaus Rath <span dir="ltr"><<a href="mailto:Nikolaus@rath.org" target="_blank">Nikolaus@rath.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Aug 16 2015, Paul Moore <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> wrote:<br>
> 2. By far and away the most common use for me would be things like<br>
> print(f"Iteration {n}: Took {end-start) seconds").<br>
<br>
</span>I believe an even more common use willl be<br>
<br>
print(f"Iteration {n+1}: Took {end-start} seconds")<br>
<br>
Note that not allowing expressions would turn this into the rather<br>
verbose:<br>
<br>
iteration=n+1<br>
duration=end-start<br>
print(f"Iteration {iteration}: Took {duration} seconds")</blockquote><div><br></div><div>Let's stop debating this point -- any acceptable solution will have to support (more-or-less) arbitrary expressions. *If* we end up also attempting to solve i18n, then it will be up to the i18n toolchain to require a stricter syntax. (I imagine this could be done during the string extraction phase.)<br></div></div><br>-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div>