<div>(Sorry for possible double-post, Google Groups was doing weird things.)</div><div><br></div><div>Hey,</div><div><br></div><div>I'm currently writing code that's manipulating `datetime.timedelta` objects. I get one and I need to check whether it's positive or negative.</div><div><br></div><div>I can't really think of an elegant way to do this.</div><div><br></div><div>Here's one:</div><div><br></div><div>    my_timedelta >= datetime.timedelta(0)</div><div><br></div><div>Another one:</div><div><br></div><div>    my_timedelta.total_seconds() >= 0</div><div><br></div><div><br></div><div>Perhaps we should allow a more elegant way? Possibly `my_timedelta >= 0` for 0 only?</div><div><br></div><div><br></div><div>Thanks,</div><div>Ram.</div>