<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Python Ideas,<br><br></div>And merry christmas!<br><br></div>Once upon a time – in August this year – I started a (somewhat badly titled) thread about improving the f-string grammar: <a href="https://mail.python.org/pipermail/python-ideas/2016-August/041727.html">https://mail.python.org/pipermail/python-ideas/2016-August/041727.html</a><br><br></div>Luckily it resulted in an interim grammar change that invalidated a misleading property of the original grammar: To the rejoicing of syntax highlighters and humans everywhere, it’s no longer possible to escape syntactically relevant characters such as the f-string braces: f'\x7bvariable}'<br><br></div>Now I created a PEP that makes f-strings work just like every other languages’ string interpolation; enabling arbitrary nesting of python expressions in the expression parts of f-strings: <a href="https://github.com/python/peps/blob/master/pep-0536.txt">https://github.com/python/peps/blob/master/pep-0536.txt</a><br><br></div>All I want for christmas is your help: Please tell me how to improve wording, structure, or clarity of my PEP’s message (ideally via PR to <a href="https://github.com/flying-sheep/peps">https://github.com/flying-sheep/peps</a>)<br><br></div>I fear going forward I will also need guidance for the implementation part, as my only close-to-the-metal experiences are dabbling in C++, and the higher-level language Rust.<br><br></div>Thank you and happy holidays!<br></div>Philipp<br></div>