[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
More information about the Python-Dev mailing list
Tue May 7 17:24:02 CEST 2013
- Previous message: [Python-Dev] PEP 435: pickling enums created with the functional API
- Next message: [Python-Dev] PEP 435: pickling enums created with the functional API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 subclassing. Regards Antoine.
- Previous message: [Python-Dev] PEP 435: pickling enums created with the functional API
- Next message: [Python-Dev] PEP 435: pickling enums created with the functional API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list