Verifiably better, validated Enum for Python

Chris Angelico rosuav at gmail.com
Fri May 26 09:41:35 EDT 2017


On Fri, May 26, 2017 at 10:52 PM, Rustom Mody <rustompmody at gmail.com> wrote:
>> Can you explain to me how it's different? Either way, the
>> implementation is allowed to do what it likes, because you shouldn't
>> be doing that.
>
> I am guessing that Steven is mixing up undefined and unspecified behavior
>
> Undefined : Implementation can do whatever it likes; erroring out or not
> Unspecified :
> | use of an unspecified value, or other behavior where this International Standard
> | provides two or more possibilities and imposes no further requirements on which
> | is chosen in any instance

Which of these terms applies to each situation?

ChrisA



More information about the Python-list mailing list