Need an enum type extension

sue smalleys at gte.net
Wed Apr 12 23:01:15 EDT 2000


Has anyone done an enum implementation?  I'd prefer one like
Ada (with attributes), but I can settle for one that works
more like C.  The main thing an enum_literal can't do is be
equal to an integer.  This rules out several of the simple
implementations I found on DejaNews.  Performance is not an
issue at this time.

Sue.



More information about the Python-list mailing list