Expression can be simplified on list
Jussi Piitulainen
jussi.piitulainen at helsinki.fi
Wed Sep 14 00:47:26 EDT 2016
Lawrence D’Oliveiro writes:
> On Wednesday, September 14, 2016 at 2:25:48 PM UTC+12, Ben Finney wrote:
>> Lawrence D’Oliveiro writes:
>>
>> > It would be better if all such conversions were explicit
>>
>> Why? It's entirely unambiguous ...
>
> <http://lwn.net/Articles/590299/>
That's the story of a time object t being false around midnight UTC,
because the class defined it to be so.
What would bool(t) be?
More information about the Python-list
mailing list