[Python-ideas] Please reconsider the Boolean evaluation of midnight
Antoine Pitrou
solipsis at pitrou.net
Thu Mar 6 11:27:22 CET 2014
Le 06/03/2014 03:14, Steven D'Aprano a écrit :
>
> For what it's worth, I think the current behaviour is a misfeature, and
> in a perfect world it would be fixed. But the cost of this is so
> miniscule, and the work-around so trivial, that although the fix is
> cheap, the benefit is even lower.
Again, the problem is not the cost of the workaround, but the cost of
sporadic unexpected failures when you don't *know* your code is
vulnerable to this issue.
Regards
Antoine.
More information about the Python-ideas
mailing list