Am Mi., 14. Juli 2021 um 19:56 Uhr schrieb Bruce Leban <[email protected]>:

> On Wed, Jul 14, 2021 at 8:50 AM Nick Humrich <[email protected]> wrote:
>
>>
>>
[cut]


>  At the very least your PEP should discuss the alternatives such as
>>
>
> f"{!!html}..."       # html escapes every string before inserting
> f"{!!foobar}..."     # applies the function 'foobar' to every string
> before inserting
> f"...{url!!foobar}"  # applies the function 'foobar' to this string value
>
> and any others that have been proposed and weigh the pros and cons.
>
>
>
These "!!" look like Perl to me. I hope we find a neat and clean syntax.

Regards,
  Thomas
_______________________________________________
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/V2PR7PYP374WK4W4MKGE6POQ3BB7FAAQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to