Message406224
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:34 | mbussonn | set | recipients:
+ mbussonn, Zac Hatfield-Dodds, pablogsal, pewscorner |
2021-11-12 17:54:34 | mbussonn | set | messageid: <1636739674.23.0.919810730093.issue45738@roundup.psfhosted.org> |
2021-11-12 17:54:34 | mbussonn | link | issue45738 messages |
2021-11-12 17:54:34 | mbussonn | create | |
|