[issue40585] compile_command exec not raising syntax error with new PGEN Parser

2020-05-10 Thread Guido van Rossum
Change by Guido van Rossum : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40585] compile_command exec not raising syntax error with new PGEN Parser

2020-05-10 Thread Guido van Rossum
Change by Guido van Rossum : -- stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40585] compile_command exec not raising syntax error with new PGEN Parser

2020-05-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 5b956ca42de37c761562e9c9aeb96a0e67606e33 by Pablo Galindo in branch 'master': bpo-40585: Normalize errors messages in codeop when comparing them (GH-20030) https://github.com/python/cpython/commit/5b956ca42de37c761562e9c9aeb96a0e67606e33

[issue40585] compile_command exec not raising syntax error with new PGEN Parser

2020-05-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40585] compile_command exec not raising syntax error with new PGEN Parser

2020-05-10 Thread Guido van Rossum
Guido van Rossum added the comment: Let's analyze this here rather than in issue40334 (which is getting top-heavy :-). -- nosy: +gvanrossum ___ Python tracker ___

[issue40585] compile_command exec not raising syntax error with new PGEN Parser

2020-05-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch nosy: +pablogsal nosy_count: 1.0 -> 2.0 pull_requests: +19340 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20030 ___ Python tracker

[issue40585] compile_command exec not raising syntax error with new PGEN Parser

2020-05-10 Thread Matthias Bussonnier
New submission from Matthias Bussonnier : compile_command used to produce syntax error in exec mode: ``` $ python -c "import codeop; codeop.compile_command('raise = 2', symbol='exec')" Traceback (most recent call last): File "", line 1, in File "...python3.8/codeop.py", line 125, in