[issue39158] ast.literal_eval() doesn't support empty sets
Jan. 4, 2020
3:02 p.m.
Pablo Galindo Salgado <pablogsal@gmail.com> added the comment:
And if add support of non-literals, where should we stop? Should we support also frozenset() and bytearray()? inf and nan? infj and nanj? complex()? Ellipsis? __debug__?
Then the name of the function would be a bit misleading (for frozenset() and bytearray()), no? I think the set() change is somehow inconsistent already with the function name. ---------- _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39158> _______________________________________
2348
Age (days ago)
2348
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pablo Galindo Salgado