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 terry.reedy
Recipients serhiy.storchaka, steven.daprano, terry.reedy
Date 2022-01-16.04:40:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642308013.75.0.81316278947.issue46393@roundup.psfhosted.org>
In-reply-to
Content
Sigh.  You are right.  I will close this tomorrow.


This also means that 'set()' is not guaranteed to return an empty built-in set. I did think of this workaround for that:
>>> (empty:={None}).clear()
>>> empty
set()
 
Go ahead and propose something on python-ideas if you want, pointing out that only displays (and comprehensions) are guaranteed to result in a builtin.
History
Date User Action Args
2022-01-16 04:40:13terry.reedysetrecipients: + terry.reedy, steven.daprano, serhiy.storchaka
2022-01-16 04:40:13terry.reedysetmessageid: <1642308013.75.0.81316278947.issue46393@roundup.psfhosted.org>
2022-01-16 04:40:13terry.reedylinkissue46393 messages
2022-01-16 04:40:13terry.reedycreate