Message411606
This works:
𝕕𝕖𝕗 = 1
This raises SyntaxError:
import ast
exec(ast.unparse(ast.parse("𝕕𝕖𝕗 = 1")))
It looks like `ast.parse` creates a `Name` node with `id='def'`, which is correct per PEP 3131, but `ast.unparse` doesn't know it needs to mangle the output somehow, as "𝕕𝕖𝕗" or a similar Unicode replacement. |
|
Date |
User |
Action |
Args |
2022-01-25 15:06:17 | Kodiologist | set | recipients:
+ Kodiologist |
2022-01-25 15:06:17 | Kodiologist | set | messageid: <1643123177.1.0.632269925829.issue46520@roundup.psfhosted.org> |
2022-01-25 15:06:17 | Kodiologist | link | issue46520 messages |
2022-01-25 15:06:17 | Kodiologist | create | |
|