"ustring!s" (i.e. str(ustring)) is actually not safe to optimise away for...
"ustring!s" (i.e. str(ustring)) is actually not safe to optimise away for f-string formatting in Py2 as it can fail to encode the Unicode string to a byte string. And it's unlikely to appear in practice.
Showing
Please register or sign in to comment