[Zope-dev] [Patch] Optimization for development mode

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 31 Mar 2000 10:41:10 +0100


On Thu, 30 Mar 2000 09:55:36 -0500, Brian Lloyd <Brian@digicool.com>
wrote:

>FYI guys - it looks like getmtime doesn't exist on windows 
>(and possibly other platforms) - think we'll be able to 
>get around that by sniffing the stat() structure though.

Not true! the implementation on windows, in python 1.5.2 is...

def getmtime(filename):
    st = os.stat(filename)
    return st[stat.ST_MTIME]


Toby Dickenson
tdickenson@geminidataloggers.com