<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 7, 2015 at 6:39 PM Eric V. Smith <<a href="mailto:eric@trueblade.com">eric@trueblade.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Following a long discussion on python-ideas, I've posted my draft of<br>
PEP-498. It describes the "f-string" approach that was the subject of<br>
the "Briefer string format" thread. I'm open to a better title than<br>
"Literal String Formatting".<br>
<br>
I need to add some text to the discussion section, but I think it's in<br>
reasonable shape. I have a fully working implementation that I'll get<br>
around to posting somewhere this weekend.<br>
<br>
>>> def how_awesome(): return 'very'<br>
...<br>
>>> f'f-strings are {how_awesome()} awesome!'<br>
'f-strings are very awesome!'<br>
<br>
I'm open to any suggestions to improve the PEP. Thanks for your feedback.<br></blockquote><div><br></div><div>I fixed a grammar nit directly in the PEP, but otherwise I'm +1 on the proposal. </div></div></div>