aroberge / friendly

Aimed at Python beginners: replacing standard traceback by something easier to understand
https://friendly-traceback.github.io/docs/index.html
MIT License
325 stars 9 forks source link

SyntaxError: assignment expression cannot rebind comprehension iteration variable #189

Closed aroberge closed 3 years ago

aroberge commented 3 years ago

See https://bugs.python.org/issue43281 for example code that triggers this exception with an error message not recognize. A second error message, SyntaxError: comprehension inner loop cannot rebind assignment expression target with example code that triggers it is also included in that bug report.