Message377722
Hm, I'm not sure. ast.literal_eval() does accept trailing whitespace, and embedded whitespace.
```
>>> ast.literal_eval("- ( 1\n)\n")
-1
>>>
```
So I think it should start accepting leading whitespace too (but only in a feature release, so 3.10). |
|
Date |
User |
Action |
Args |
2020-09-30 20:33:50 | gvanrossum | set | recipients:
+ gvanrossum, pablogsal, BTaskaya, gousaiyang |
2020-09-30 20:33:49 | gvanrossum | set | messageid: <1601498029.99.0.392885674775.issue41887@roundup.psfhosted.org> |
2020-09-30 20:33:49 | gvanrossum | link | issue41887 messages |
2020-09-30 20:33:49 | gvanrossum | create | |
|