R. David Murray added the comment:

Like I said, you should take your use case to python-ideas, for a safe_eval 
that would handle it.  literal_eval is not the place for handing 'set()', in my 
opinion.  (There is always a chance other other devs will disagree, but none 
have so far :).

FYI, reprs are often evalable to get back the original value, but the key word 
there is 'eval', not 'literal_eval'.

----------

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

Reply via email to