[Python-ideas] constant/enum type in stdlib

Tim Delaney timothy.c.delaney at gmail.com
Sun Feb 3 22:39:57 CET 2013


On 2 February 2013 07:28, Tim Delaney <timothy.c.delaney at gmail.com> wrote:

> 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.
>

Public repository on BitBucket: https://bitbucket.org/magao/enum

Feel free to raise issues there, clone and make pull requests, etc.

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


More information about the Python-ideas mailing list