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 Anthony Sottile, BTaskaya, gvanrossum, hauntsaninja, lys.nikolaou, ned.deily, pablogsal, serhiy.storchaka
Date 2020-05-10.22:50:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is some discrepancy with the codeop module when running with the new parser:

./python -c "import codeop; codeop.CommandCompiler()('raise = 2\n\n', symbol='exec')"

(No error)

./python -Xoldparser -c "import codeop; codeop.CommandCompiler()('raise = 2\n\n', symbol='exec')"
  File "<input>", line 1
    raise = 2
SyntaxError: invalid syntax
Date User Action Args
2020-05-10 22:50:12pablogsalsetrecipients: + pablogsal, gvanrossum, ned.deily, serhiy.storchaka, Anthony Sottile, lys.nikolaou, BTaskaya, hauntsaninja
2020-05-10 22:50:12pablogsalsetmessageid: <>
2020-05-10 22:50:12pablogsallinkissue40334 messages
2020-05-10 22:50:11pablogsalcreate