In <023130ef$0$19421$c3e8...@news.astraweb.com> Steven D'Aprano 
<st...@remove-this-cybersource.com.au> writes:

> >     if time_difference < 3601:

> That's a potential off-by-one error. [...] The right test is:

>     if time_difference <= 3600:

Aren't those two comparisons the same?

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to