[Python-ideas] Please reconsider the Boolean evaluation of midnight

Ethan Furman ethan at stoneleaf.us
Fri Mar 7 06:11:55 CET 2014


On 03/06/2014 04:08 PM, Tim Peters wrote:
> [Greg Ewing]
>> ...
>> Altogether, the whole thing seems to be a mess.
>
> Although a mess that fits in a thimble that successfully hid in a dark
> corner unnoticed for a decade ;-)

If the decade is now, it didn't go that long.  I discovered this irritation within a year of learning Python, and at 
least three years ago brought it up on one of the mailing lists.  I ended up making my own Date, Time, and DateTime classes.

--
~Ethan~


More information about the Python-ideas mailing list