New submission from Chris Angelico <ros...@gmail.com>:

When a non-literal is given to literal_eval, attempt to be more
helpful with the message, rather than calling it 'malformed'.

----------
components: Library (Lib)
messages: 312423
nosy: Rosuav
priority: normal
pull_requests: 5555
severity: normal
status: open
title: Improve exception message in ast.literal_eval
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32888>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to