<div dir="ltr">On 1 May 2013 02:27, Eli Bendersky <span dir="ltr"><<a href="mailto:eliben@gmail.com" target="_blank">eliben@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Mon, Apr 29, 2013 at 5:38 PM, Greg Ewing <span dir="ltr"><<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Ethan Furman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I suppose the other option is to have `.value` be whatever was assigned (1, 'really big country', and (8273.199, 517) ),<br>
</blockquote>
<br></div>
I thought that was the intention all along, and that we'd<br>
given up on the idea of auto-assigning integer values<br>
(because it would require either new syntax or extremely<br>
dark magic).<span><font color="#888888"><br>
</font></span></blockquote><div><br></div></div><div>Yes, Guido rejected the auto-numbering syntax a while back. The only case in which auto-numbering occurs (per PEP 435) is the "convenience syntax":<br><br></div>
<div>

Animal = Enum('Animal', 'fox dog cat')</div></div></div></div></blockquote><div><br></div><div style>Actually, since Guido has pronounced that definition order will be the default, there's no reason each Enum instance couldn't have an "ordinal" attribute.</div>
<div style><br></div><div style>Tim Delaney<br></div></div></div></div>