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 ahrvoje
Recipients Filip Haglund, ahrvoje, ezio.melotti
Date 2015-11-03.20:58:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446584310.71.0.121107268621.issue24663@psf.upfronthosting.co.za>
In-reply-to
Content
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!
History
Date User Action Args
2015-11-03 20:58:30ahrvojesetrecipients: + ahrvoje, ezio.melotti, Filip Haglund
2015-11-03 20:58:30ahrvojesetmessageid: <1446584310.71.0.121107268621.issue24663@psf.upfronthosting.co.za>
2015-11-03 20:58:30ahrvojelinkissue24663 messages
2015-11-03 20:58:30ahrvojecreate