I tried to reproduce what you reported and it does work like you said. 
Probably something was broken some time ago. Please file a ticket.

Thanks,

Eugene

"Richie Hindle" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
> Hi,
>
> I've just updated to the current trunk, and the autoreload code is firing
> on every request I make to my developent server.  The timestamps it's
> reading differ by one hour between reads, even though the file hasn't
> changed.  I added this to autoreload.py at the point it decides something
> has changed:
>
>    print filename, time.ctime(mtime), time.ctime(mtimes[filename])
>
> and it's printing something like this:
>
>    C:\...\utils\html.py Fri Oct 28 20:24:02 2005 Fri Oct 28 19:24:02 2005
>
> for every request.
>
> I'm running on Windows, which has a nasty habit of applying the current
> DST settings to stat() results, so you get a different timestamp for the
> same file depending on when you ask for it.  Maybe something's happening
> during startup that's changing the DST setting?  (I'm in the UK, where
> we're not in DST, but the file that is triggering autoreload was last
> modified in DST.)
>
> -- 
> Richie Hindle
> [EMAIL PROTECTED]
>
>
> 



Reply via email to