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 BTaskaya
Recipients BTaskaya, gousaiyang, pablogsal
Date 2020-09-30.15:58:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601481510.46.0.0998418291975.issue41887@roundup.psfhosted.org>
In-reply-to
Content
Looks like skipping the leading whitespace is an undocumented behavior for eval() introduced back in 1992 (f08ab0ad158f88f05dd923b129d2397e1882be14). I don't think that bringing it to the literal_eval is a good idea, at least after this much of a time. If so, both of them should be explicitly documented or at least mentioned in the source code (to avoid confusion).
History
Date User Action Args
2020-09-30 15:58:30BTaskayasetrecipients: + BTaskaya, pablogsal, gousaiyang
2020-09-30 15:58:30BTaskayasetmessageid: <1601481510.46.0.0998418291975.issue41887@roundup.psfhosted.org>
2020-09-30 15:58:30BTaskayalinkissue41887 messages
2020-09-30 15:58:30BTaskayacreate