[Python-Dev] PEP 435: pickling enums created with the functional API

Antoine Pitrou solipsis at pitrou.net
Tue May 7 17:24:02 CEST 2013

Le Wed, 8 May 2013 01:03:38 +1000,
Nick Coghlan <ncoghlan at gmail.com> a écrit :
> What if there was a variant of the class statement that bound the
> result of a function call rather than using the normal syntax:
>     class Animal from enum.Enum(members="dog cat bear")

Apparently you're trying hard to invent syntaxes just to avoid



More information about the Python-Dev mailing list