On Mon, Jan 17, 2022 at 12:54:58AM +0000, Oscar Benjamin wrote: > A more relevant question right now is if any other set syntax should apply > to frozensets e.g. should this work: > > >>> squares = f{x**2 for x in range(10)}
If display syntax for frozensets were to be approved, then we should consider frozenset comprehensions as well. That would be an obvious extension of the syntax. But I don't know if there are technical difficulties with that proposal that might make it less attractive. -- 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/7IA5RXMH6A4NV6L3QRI46CQVBUSGPSSP/ Code of Conduct: http://python.org/psf/codeofconduct/