<div><span></span>On Sunday, April 28, 2013, Ethan Furman  wrote: <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Enums are the same: they could return brand new instances every time, and programs using `==` to compare will keep on working.  That they don't is an implementation detail.<br>
</blockquote><div> <br></div><div><span style>Whoa. In this case the identity property is not justban implementation issue, it is part of the spec. Same for bool. (But == works too.)</span><br style><br style><span style>--Guido</span><br>
</div></div><br><br>-- <br>--Guido van Rossum (<a href="http://python.org/~guido">python.org/~guido</a>)<br>