Message 301579 - Python tracker

Message301579

Author Anselm Kiefner
Recipients Anselm Kiefner, eric.smith
Date 2017-09-07.09:43:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504777438.68.0.509781609008.issue30793@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-09-07 09:43:58Anselm Kiefnersetrecipients: + Anselm Kiefner, eric.smith
2017-09-07 09:43:58Anselm Kiefnersetmessageid: <1504777438.68.0.509781609008.issue30793@psf.upfronthosting.co.za>
2017-09-07 09:43:58Anselm Kiefnerlinkissue30793 messages
2017-09-07 09:43:58Anselm Kiefnercreate