bpo-40246: Revert reporting of invalid string prefixes by lysnikolaou · Pull Request #19888 · python/cpython
I'm not getting a SyntaxError when building this branch locally.
╰─ ./python.exe
Python 3.9.0a6+ (heads/master-dirty:64224a4727, May 3 2020, 23:23:39)
[Clang 11.0.0 (clang-1100.0.33.8)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def f():
... return'.'.join(lcl)
...
>>> f()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in f
NameError: name 'lcl' is not defined