My understanding was that was part of the question being asked, is it possible to know what with the new PEG parser?

On Sat, May 28, 2022 at 1:25 PM Serhiy Storchaka <storchaka@gmail.com> wrote:
28.05.22 14:57, Damian Shaw пише:
> That PR seems to make \' and \" not special in general right?
>
> I think this is a more limited proposal, to only change the behavior
> when \ is at the end of a string, so the only behavior difference would
> never receiving the error "SyntaxError: EOL while scanning string literal"
>
> In which case there should be no backwards compatibility issue.

How do you know that it is at the end of a string?

_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/BFGT3H57CFTEOKWA3NXBSPUDE4JF4C2H/
Code of Conduct: http://python.org/psf/codeofconduct/