How much sanity checking is required for function inputs?

Ian Kelly ian.g.kelly at gmail.com
Sat Apr 23 21:29:42 EDT 2016


On Sat, Apr 23, 2016 at 7:00 PM, Christopher Reimer
<christopher_reimer at icloud.com> wrote:
> On 4/21/2016 9:46 PM, Ethan Furman wrote:
>>
>> Oh! and Enum!!!  ;)
>
>
> OMG! I totally forgot about Enum. Oh, look. Python supports Enum. Now I
> don't have to roll my own!
>
> Hmm... What do we use Enum for? :)

Python enums are great. Sadly, they're still not quite as awesome as Java enums.



More information about the Python-list mailing list