09.04.21 19:42, Ricky Teachey пише: > On Fri, Apr 9, 2021 at 3:20 AM Serhiy Storchaka > <storch...@gmail.com > <mailto:storch...@gmail.com>> wrote: > You can now use `{*()}` as a syntax for empty set. > > Interestingly, Raymond Hettinger recently had a post on twitter > specifically deriding this usage as obfuscatory, and expressing his > preference that people not do it (and use set() instead).
I agree, but between introducing a new syntax for special rare case and using uncommon (but understable) expression in existing syntax I prefer the latter. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/BL5B36MCZ3ZYU4ECYMVP5AAPU3PBTDDD/ Code of Conduct: http://python.org/psf/codeofconduct/