This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients Anselm Kiefner, eric.smith
Date 2017-09-07.18:14:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504808076.59.0.987360205139.issue30793@psf.upfronthosting.co.za>
In-reply-to
Content
That code is an error in Python 3.6:

>>> f"{eval('bool(0)\
... and True\
... ')}"
  File "<stdin>", line 3
SyntaxError: f-string expression part cannot include a backslash
>>> 

I'm not sure it's a good idea that jupyter accepts code that's not valid in Python itself.
History
Date User Action Args
2017-09-07 18:14:36eric.smithsetrecipients: + eric.smith, Anselm Kiefner
2017-09-07 18:14:36eric.smithsetmessageid: <1504808076.59.0.987360205139.issue30793@psf.upfronthosting.co.za>
2017-09-07 18:14:36eric.smithlinkissue30793 messages
2017-09-07 18:14:36eric.smithcreate