[Python-ideas] constant/enum type in stdlib

Joao S. O. Bueno jsbueno at python.org.br
Fri Feb 1 20:47:14 CET 2013


On 1 February 2013 17:30, Eli Bendersky <eliben at gmail.com> wrote:

>
>
>
> On Fri, Feb 1, 2013 at 7:36 AM, 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. :)
>>
>>
> I would actually prefer a place where it's easy to see the code, comment
> on it and fork it like Bitbucket or Github. PyPI is good for other
> purposes...
>
Indeed -
there are plenty of nice enums on pypi already - my call for getting then
to the stdlib
is that we can get a reliable enum/constant behavior  to be always there -
not only
for the constants in the stdlib, but for projects for which adding external
dependencies
would be expensive (as they currently have none)

  js
 -><-

>
>
> Eli
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130201/49088fc3/attachment.html>


More information about the Python-ideas mailing list