Eric V. Smith added the comment:
Thanks for the feedback.
On the
f"{expr3!s}" → format(str(expr3))
issue, I'm trying to show the 1 argument version of format (which is what the
code generator actually calls). Although I realize that's not a great example,
since the string conversion is implicit in format(). Maybe I'll have the !r
example be the 1 argument format() call.
I'll fix the exceptions, eventually. But I don't want the PEP to become a exact
specification of what the exception text will actually be.
On this one:
f'x={!x}'
I'll probably change it to be an error with the empty expression, not with the
invalid conversion character.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com