On Wed, Jan 19, 2022 at 01:56:54PM +0100, Marco Sulla wrote:

> PEP 351 for the frozen protocol was rejected. I didn't read why, but
> it's probably hard to resurrect.

This is not a proposal for a generic frozen protocol. It is a simple 
proposal for a set method that returns a frozenset, with the aim that 
the peephole optimiser will be able to optimise the call out for set 
displays consisting only of literals.


-- 
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/BH2VZ3RSI3KRQ4F6P6HHZ23APR6CBQ3R/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to