PEP 354: Enumerations in Python
Terry Reedy
tjreedy at udel.edu
Wed Mar 1 02:55:02 EST 2006
"Ben Finney" <bignose+hates-spam at benfinney.id.au> wrote in message
news:87veuz2bwk.fsf at rose.polar.local...
> Should I amend the PEP to propose "either in the builtins or in the
> collections module"?
Yes, if the idea is accepted, Guido and devs will debate and decide that
anyway ;-)
> Or should I propose two PEPs and let them compete?
No..
> But the terminology is broken. The term "enumerated" seems to me to
> imply that it does have an order. Can you suggest a term other than
> "enumerated" for what you're describing with the unordered property?
Re flags are not ordered. Their bug proneness when given to wrong
functions is a point for your proposal.
tjr
More information about the Python-list
mailing list