[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as

Antoine Pitrou solipsis at pitrou.net
Mon Feb 25 19:50:56 CET 2013


On Mon, 25 Feb 2013 13:05:02 -0500
Barry Warsaw <barry at python.org> wrote:
> 
> Maybe.  I don't think a stdlib solution has to meet *all* needs.  I think
> named values plus int-interoperable enums will solve almost all use cases.

Being int-interoperable without comparing with ints is completely
bonkers.

Regards

Antoine.




More information about the Python-Dev mailing list