[Python-Dev] Enumeration items: mixed types?
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Apr 30 02:38:14 CEST 2013
Ethan Furman wrote:
> I suppose the other option is to have `.value` be whatever was assigned
> (1, 'really big country', and (8273.199, 517) ),
I thought that was the intention all along, and that we'd
given up on the idea of auto-assigning integer values
(because it would require either new syntax or extremely
dark magic).
--
Greg
More information about the Python-Dev
mailing list