[Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon Feb 25 19:50:56 CET 2013
- Previous message: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
- Next message: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
- Next message: [Python-Dev] [Python-checkins] peps: Pre-alpha draft for PEP 435 (enum). The name is not important at the moment, as
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]