Terry J. Reedy added the comment:
Before the patch, eval("f'\\\n'") gives me the same assertion failure, with an
IDLE freeze instead of core dump equivalent, but is seems that the string
should be of length 2.
>>> len('\\\n')
2
>>> len(f'\\\n')
2
----------
nosy: +terry.reedy
stage: -> resolved
type: -> behavior
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30682>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com