[Python-ideas] Please reconsider the Boolean evaluation of midnight
Tim Peters
tim.peters at gmail.com
Thu Mar 6 03:15:59 CET 2014
[Donald Stufft]
> When the documented behavior is both nonsensical and the cause of hard
> to debug bugs that is a pretty compelling use case to me, unless you actively
> enjoy being user hostile.
Breaking code that currently works is as hostile as hostile gets.
Where is the evidence that no code relies on the current behavior?
For that matter, where is the evidence that the current behavior is a
significant cause of bugs? I know I've used "if some_time_object:",
but it did exactly what I expected it to do.
More information about the Python-ideas
mailing list