Is time.time() < time.time() always true?

Ben Finney bignose+hates-spam at
Wed Nov 22 02:18:06 CET 2006

"Delaney, Timothy (Tim)" <tdelaney at> writes:

> So long as the clock on the machine it's running on is not set
> backwards between the two calls, you can guarantee that
>    time.time() <= time.time()
> will always evaluate true.

Really? Where does Python guarantee that the left side *must* be
evaluated before the right side of a comparison? (If the right side
were to be evaluated first, the left might end up with a greater

 \       "A free society is one where it is safe to be unpopular."  -- |
  `\                                             Adlai Ewing Stevenson |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list