[Python-ideas] bool(datetime.time(0, 0))
Nick Coghlan
ncoghlan at gmail.com
Tue May 8 05:57:13 CEST 2012
On Tue, May 8, 2012 at 12:57 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> The behavior is broken. Midnight is not False.
Whereas I disagree - I see having zero hour be false as perfectly
reasonable behaviour (not necessarily *useful*, but then having all
time objects report as True in boolean context isn't particularly
useful either).
In matters of opinion, the status quo reigns.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list