Anselm Kiefner added the comment:
Hey Eric, just a heads up.
In the latest jupyter notebook, this is valid code:
f"{eval('bool(0)\
and True\
')}"
which returns
'False'
I don't know how far you want to go, but if someone REALLY wants to use
backspace in f-strings just for the sake of it - however ugly it looks like -
they already can.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30793>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com