[Python-ideas] constant/enum type in stdlib

Eric Snow ericsnowcurrently at gmail.com
Fri Feb 1 21:11:39 CET 2013


On Fri, Feb 1, 2013 at 2:27 AM, Serhiy Storchaka <storchaka at gmail.com> wrote:
> I think that instead of the invention of implementation which covers all
> possible hypothetic scenarios, much more useful for the enums promotion
> would be if someone were to transform the existing constants in stdlib into
> enums with a minimum of the necessary capabilities.  This will show which
> features are the most important, which interface is more convenient from
> user's point of view, and what difficulties have to be faced.

+1

There's a lot of precedent (and good reasons) for starting with a
minimal/basic implementation in the stdlib.

-eric



More information about the Python-ideas mailing list