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 rhettinger
Recipients rhettinger
Date 2019-12-29.21:42:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
We already support sets but not empty sets.  After the PR, this now works:

    >>> from ast import literal_eval
    >>> literal_eval('set()')

If we wanted, it would be a simple matter to extend it frozensets:

    >>> literal_eval('frozenset({10, 20, 30})')
    frozenset({10, 20, 30})
Date User Action Args
2019-12-29 21:42:10rhettingersetrecipients: + rhettinger
2019-12-29 21:42:10rhettingersetmessageid: <>
2019-12-29 21:42:10rhettingerlinkissue39158 messages
2019-12-29 21:42:10rhettingercreate