[Python-ideas] PEP XXX - Competitor with PEP 435: Adding an enum type to the Python standard library

Paul Moore p.f.moore at gmail.com
Mon Mar 11 19:31:29 CET 2013


On 11 March 2013 17:25, Ethan Furman <ethan at stoneleaf.us> wrote:
>
>> Personally, I find this behaviour unacceptable. The lack of a good way
>> of dealing with this issue (I don't particularly like the "just use
>> int()" or special value property approaches either) seems to be key to
>> why people are failing to agree on an implementation...
>
>
> Hopefully that's clearer now.

Yes, it is - thanks. I missed the significance of "Sequence" in the
PEP (it's not a very obvious name for this functionality). Maybe
there's a better name, or if not then at least making this aspect more
prominent in the PEP would probably help.

Paul



More information about the Python-ideas mailing list