[Python-Dev] AutoNumber Enum
Ethan Furman
ethan at stoneleaf.us
Wed Jun 29 16:19:58 EDT 2016
More information about the Python-Dev mailing list
Wed Jun 29 16:19:58 EDT 2016
- Previous message (by thread): [Python-Dev] AutoNumber Enum
- Next message (by thread): [Python-Dev] AutoNumber Enum
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 06/29/2016 01:01 PM, Ivan Levkivskyi wrote: > It looks like the values in AutoNumberEnum are consecutive integers > 1,2,3,... > Have you considered an option (keyword argument) to change this to > powers of two 1,2,4,8,...? There is another issue relating to bitwise enums that deals with that. It is not part of this proposal. -- ~Ethan~
- Previous message (by thread): [Python-Dev] AutoNumber Enum
- Next message (by thread): [Python-Dev] AutoNumber Enum
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list