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 steven.daprano
Recipients serhiy.storchaka, steven.daprano, terry.reedy
Date 2022-01-16.03:24:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642303480.87.0.624339290055.issue46393@roundup.psfhosted.org>
In-reply-to
Content
The difficulty is that frozenset may have been shadowed, or builtins monkey-patched, so we cannot know what frozenset({1, 2, 3}) will return until runtime.

Should we re-consider a frozenset display literal?

    f{1, 2, 3}

works for me.
History
Date User Action Args
2022-01-16 03:24:40steven.dapranosetrecipients: + steven.daprano, terry.reedy, serhiy.storchaka
2022-01-16 03:24:40steven.dapranosetmessageid: <1642303480.87.0.624339290055.issue46393@roundup.psfhosted.org>
2022-01-16 03:24:40steven.dapranolinkissue46393 messages
2022-01-16 03:24:40steven.dapranocreate