โ— Shell
clean mode source โ†—

Message 411669 - Python tracker

I can confirm that it happens on all versions from 3.9 to 3.11 (main).

```
Python 3.9.9 (main, Dec 21 2021, 11:35:28) 
[Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> ast.unparse(ast.parse("๐••๐•–๐•— = 1"))
'def = 1'
>>> exec(ast.unparse(ast.parse("๐••๐•–๐•— = 1")))  # SyntaxError
```

```
Python 3.11.0a4+ (heads/main-dirty:ef3ef6fa43, Jan 20 2022, 20:48:25) [Clang 11.0.0 (clang-1100.0.33.16)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> ast.unparse(ast.parse("๐••๐•–๐•— = 1"))
'def = 1'
>>> exec(ast.unparse(ast.parse("๐••๐•–๐•— = 1")))  # SyntaxError
```