Hrvoje Abraham added the comment:

I believe this is the issue. ast.literal_eval sets support can not be 
considered complete until it also handles empty sets. I do not consider it 
valid for me to explicitly handle this case in my projects using some weird 
hacks.

Python community settled on not introducing empty set literal because one can 
simply use set(), as discussed a few times before. But no corresponding 
alternative was defined for ast.literal_eval, maybe it should handle 'set()' as 
such.

I strongly advise reopening this issue and finding functional solution for 
empty set case. I need it!

----------
nosy: +ahrvoje
type:  -> enhancement
versions: +Python 3.5 -Python 3.4

_______________________________________
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