On Wed, Jan 19, 2022 at 10:30:05AM -0300, Joao S. O. Bueno wrote: > Maybe the "special optimizable method" will solve some of the problems, and > appraise the "no new syntax" folks. [...]
I pretty much agree with everything Joao says here. The hypothetical peephole optimization trick for {1, 2, 3}.frozen() is a nifty trick, but it is a poor second cousin to a real frozenset display syntax. Still, it's an option that shouldn't be dismissed out of hand. -- Steve _______________________________________________ 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/B4P3VCQFVUN4XXUCCUMW343E63JRE2Q6/ Code of Conduct: http://python.org/psf/codeofconduct/