On May 05, 2013, at 03:43 PM, Guido van Rossum wrote: >I'll let Eli or Ethan respond to this. It sounds fine to me to support >you with some kind of hook in the spec, even though I personally would >rather assign my enum values explicitly (I'm old-fashioned that way >:-).
Assuming the picklability of functional API created Enums is fixed (sorry, another threadsplosion still awaits me), if you *really* have to have autonumbering, use the functional API. IMHO, the class API doesn't need them. -Barry _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com