Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52096 > unrolled thread

Re: Enum vs OrderedEnum

Started byBen Finney <ben+python@benfinney.id.au>
First post2013-08-07 11:55 +1000
Last post2013-08-07 11:55 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Enum vs OrderedEnum Ben Finney <ben+python@benfinney.id.au> - 2013-08-07 11:55 +1000

#52096 — Re: Enum vs OrderedEnum

FromBen Finney <ben+python@benfinney.id.au>
Date2013-08-07 11:55 +1000
SubjectRe: Enum vs OrderedEnum
Message-ID<mailman.292.1375840552.1251.python-list@python.org>
Ian Kelly <ian.g.kelly@gmail.com> writes:

> class Environment(OrderedEnum):

I have nothing to add regarding the Python code, but I wanted to make a
language correction:

>     gaia = 1
>     fertile = 2
>     terran, jungle, ocean, arid, steppe, desert, minimal = range(3, 10)
>     barren, tundra, dead, inferno, toxic, radiated = range(10, 16)

Terrain that is “radiated” would be terrain that has some kind of spokes
spreading out from its centre. I think you mean “irradiated”.

Hope the game goes well :-)

-- 
 \      “Saying that Java is nice because it works on all OSes is like |
  `\     saying that anal sex is nice because it works on all genders” |
_o__)                                                —http://bash.org/ |
Ben Finney

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web