Terry J. Reedy <tjre...@udel.edu> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46393> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com