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 eric.smith, ned.deily, serhiy.storchaka
Date 2017-06-16.09:13:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497604427.55.0.696154643754.issue30682@psf.upfronthosting.co.za>
In-reply-to
Content
>>> eval("f'\\\n'")
python: Python/ast.c:4906: FstringParser_ConcatFstring: Assertion `!state->last_str || PyUnicode_GET_LENGTH(state->last_str) != 0' failed.
[2]    12810 abort (core dumped)  ./python

The problem is that some literal strings are zero length. The assert can be deleted.
History
Date User Action Args
2017-06-16 09:13:47eric.smithsetrecipients: + eric.smith, ned.deily, serhiy.storchaka
2017-06-16 09:13:47eric.smithsetmessageid: <1497604427.55.0.696154643754.issue30682@psf.upfronthosting.co.za>
2017-06-16 09:13:47eric.smithlinkissue30682 messages
2017-06-16 09:13:47eric.smithcreate