<div dir="ltr"><div class="gmail_quote">On Tue, May 8, 2012 at 8:42 AM, Steven D'Aprano <span dir="ltr"><<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>></span> wrote:</div><div class="gmail_quote">
[...]<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">It's only midnight if you don't specify a tzinfo, or</div>
if you do and happen to be using GMT.<br></blockquote><div><br></div><div>Arbitrary and unexpected times evaluating to False is a bug waiting to happen. Personally I'd prefer all datetime.time objects had no boolean value at all.</div>
<div><br></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style>The only good defence for keeping it, in my opinion, would be fear that<br></span><span style>there is working code that relies on this.</span></blockquote><div><span style><br></span></div><div>+1</div><div><br>
</div><div>Yuval</div></div></div>