Eric V. Smith <e...@trueblade.com> added the comment:

In case anyone cares: in a non-debug build, this error had no real effect. It 
just caused the "find the literal part of an fstring" routine to terminate 
early, but since the part that it had already identified was still in error, a 
syntax error was still raised.

For "\Nxy" it would terminate at "\Nx", instead of consuming the whole string. 
But since "\Nx" isn't a valid string (bad unicode name escape), it would raise 
the same syntax error as "\Nxy".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46503>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to