newbie question

Stephen Thorne stephen.thorne at gmail.com
Mon Dec 20 23:15:12 EST 2004


On Mon, 20 Dec 2004 18:06:36 -0600, Doug Holton <insert at spam.here> 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:
> http://www.python.org/cgi-bin/moinmoin/Python3.0
> 
> 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?

Stephen.



More information about the Python-list mailing list