Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I feel like this can be solved another way. S=f”my good code #### {potentially_evil_user_input} #### my good code again” then work around the ####. Of course, even better, S=evil_user_input and do a scrub on S first.


[flagged]


As they mention in PEP 750,"we expect many more developers will use t-strings than write t-string processing functions."




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: