mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
37c0844b35
Incorrect code was generated for: foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it. I'm uncertain whether this should be backported. It makes something that was Syntactically valid invalid. However, the code would either be completely broken or do the wrong thing. |
||
---|---|---|
.. | ||
.cvsignore | ||
Grammar |