<div dir="ltr"><div><div><div>All this discussion is certainly very educational for the participants, but I want to remind everyone that this is not going to happen without a PEP.<br><br></div>Personally I'm -0 on the whole business. Some quick notes:<br><br></div>- In ABC, this was considered, and the rule was that {k1: v1; k2: v2} was allowed to have k1==k2 as long as v1==v2. Otherwise it was an error. (But ABC did not have comprehensions.)<br><br></div>- Franklin? brought up sets and suggested the same thing should happen there. I'm not so sure though. When teaching Python it's nice to be able to demonstrate the fundamental property of sets by showing it:<br><br>>>> {1, 1, 1}<br>{1}<br>>>> <br clear="all"><div><div><div><div><div><div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div></div></div></div></div></div></div></div>