3 ms·
> Making anything other than false and none falsy was a mistake Yes. That's how you end up with messes like this one: https://lwn.net/Articles/590299/ https://
by pansa2 4y ago
> Making anything other than false and none falsy was a mistake
Yes. That's how you end up with messes like this one: https://lwn.net/Articles/590299/ https://lwn.net/Articles/590299/
- parentheses 4y agoWhattttttttt?!? TIL!
- dtech 4y agoIt's no longer the case, was changed in Python 3.6
- just_boost_it 4y agoWow! That's UTC as well, so where I am it'd be like having an exception for exactly 4pm, it wouldn't even occur to me that it was a zero!