This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients BTaskaya, gousaiyang, gvanrossum, pablogsal
Date 2020-09-30.20:33:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hm, I'm not sure. ast.literal_eval() does accept trailing whitespace, and embedded whitespace.

>>> ast.literal_eval("- ( 1\n)\n")

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:50gvanrossumsetrecipients: + gvanrossum, pablogsal, BTaskaya, gousaiyang
2020-09-30 20:33:49gvanrossumsetmessageid: <>
2020-09-30 20:33:49gvanrossumlinkissue41887 messages
2020-09-30 20:33:49gvanrossumcreate