yota moteuchi added the comment:

Well, I would disagree with R. David Murray on this.

literal_eval() is meant to safely parse literal pythons "containers" structures.

{1, 2, 3} is a valid literal set(), why would an empty one not be parse-able as 
well. I can not predict, when I dump the structure with repr(), if the set() 
will be empty or not.

----------
nosy: +yota moteuchi

_______________________________________
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