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 pablogsal
Recipients BTaskaya, aroberge, lys.nikolaou, pablogsal
Date 2021-06-14.18:54:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623696872.25.0.0225706679066.issue44369@roundup.psfhosted.org>
In-reply-to
Content
One problem with that is that the lookahead will move the error indicator to some incorrect place if the match fails. For example:

PYTHON3.9

>>> "dfssdfsdfsd" fdsf sdfsdfsd {}
  File "<stdin>", line 1
    "dfssdfsdfsd" fdsf sdfsdfsd {}
                  ^
SyntaxError: invalid syntax

with this PR:

>>> "dfssdfsdfsd" fdsf sdfsdfsd {}
  File "<stdin>", line 1
    "dfssdfsdfsd" fdsf sdfsdfsd {}
                                ^
SyntaxError: invalid syntax

We need a solution to this problem first
History
Date User Action Args
2021-06-14 18:54:32pablogsalsetrecipients: + pablogsal, aroberge, lys.nikolaou, BTaskaya
2021-06-14 18:54:32pablogsalsetmessageid: <1623696872.25.0.0225706679066.issue44369@roundup.psfhosted.org>
2021-06-14 18:54:32pablogsallinkissue44369 messages
2021-06-14 18:54:32pablogsalcreate