Author gvanrossum
Recipients BTaskaya, gousaiyang, gvanrossum, pablogsal
Date 2020-09-30.20:33:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601498029.99.0.392885674775.issue41887@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2020-09-30 20:33:50gvanrossumsetrecipients: + gvanrossum, pablogsal, BTaskaya, gousaiyang
2020-09-30 20:33:49gvanrossumsetmessageid: <1601498029.99.0.392885674775.issue41887@roundup.psfhosted.org>
2020-09-30 20:33:49gvanrossumlinkissue41887 messages
2020-09-30 20:33:49gvanrossumcreate