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 mbussonn
Recipients Zac Hatfield-Dodds, mbussonn, pablogsal, pewscorner
Date 2021-11-12.17:54:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Note that with the following example, exec and CommandCompiler return a different error:

    from codeop import CommandCompiler

    # identical errors
    #exec('1,\\#\n2') SystemError
    #CommandCompiler()('1,\\#\n2', symbol='exec') SystemError

    # one is syntax the other is System.
    exec('a \ \n')  # SyntaxError
    CommandCompiler()('a \ \n', symbol='exec') # SystemError
Date User Action Args
2021-11-12 17:54:34mbussonnsetrecipients: + mbussonn, Zac Hatfield-Dodds, pablogsal, pewscorner
2021-11-12 17:54:34mbussonnsetmessageid: <>
2021-11-12 17:54:34mbussonnlinkissue45738 messages
2021-11-12 17:54:34mbussonncreate