newbie question

Stephen Thorne stephen.thorne at
Tue Dec 21 05:15:12 CET 2004

On Mon, 20 Dec 2004 18:06:36 -0600, Doug Holton <insert at> wrote:
> To actually answer your question, no, there is no standard for enums in
> python.  There are custom hacks for it that you can search for.
> This is a good sugestion for Python 3.0, a.k.a. Python 3000:
> In the future you may be able to to this:
> enum Color:
>       Red
>       Green
>       Blue
> However, Python 3.0 is likely years away.  If you want to know how to
> run this code today, consult Fredrik Lundh.

Is this a Sig? What is this referring to? You've said it in reply to
more than one post in the last week. Got a url I can read about the
Fredrik Lundh Python Syntax Manglation Consulting Service?


More information about the Python-list mailing list