[Python-ideas] constant/enum type in stdlib

Tim Delaney timothy.c.delaney at gmail.com
Fri Feb 1 21:28:57 CET 2013


On 2 February 2013 02:36, Barry Warsaw <barry at python.org> wrote:

> On Feb 01, 2013, at 03:18 PM, Tim Delaney wrote:
>
> >Last version (for now). I'm really interested in people's opinions on
> this.
> >For this version I've taken some inspiration from flufl.enum (but there
> >remains the major difference that these enums subclass int).
>
> Why not package it up and put it in PyPI?  Better there than sitting in an
> email thread of some mailing list full of crazy people. :)
>

Yep - I intend to. Was just hacking away initially to see if what I wanted
to achieve was feasible using Michael's metaclass as a base. It's in a
Mercurial repo so I'll put it up on BitBucket in the next day or two and
look at cleaning it up (documentation!) to put on PyPI.

Tim Delaney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130202/fe0f41d3/attachment.html>


More information about the Python-ideas mailing list