John Gordon wrote:
In <[email protected]> Steven D'Aprano 
<[email protected]> 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?

Only if time_difference is an integer.

--Scott David Daniels
[email protected]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to