On May 7, 4:15 pm, Irmen de Jong <[EMAIL PROTECTED]> wrote: > Martin v. Löwis wrote: > >> Is this a bug? > > > Why don't you read the responses posted earlier? John Machin > > replied (in <[EMAIL PROTECTED]>) > > that you are mistaken: There is NO difference between the outcome > > of os.path.getmtime between Py2.5 and Py2.4. It always did return > > UTC, and always will. > > > Regards, > > Martin > > Err.....: > > [E:\Projects]dir *.py > > Volume in drive E is Data Serial number is 2C4F:9C2D > Directory of E:\Projects\*.py > > 31-03-2007 20:46 511 log.py > 25-11-2006 16:59 390 p64.py > 7-03-2007 23:07 207 sock.py > 3-02-2007 16:15 436 threads.py > 1.544 bytes in 4 files and 0 dirs 16.384 bytes allocated > 287.555.584 bytes free > > [E:\Projects]c:\Python24\python.exe -c "import os; print > os.path.getmtime('p64.py')" > 1164470381 > > [E:\Projects]c:\Python25\python.exe -c "import os; print > os.path.getmtime('p64.py')" > 1164466781.28 > > This is python 2.4.4 and Python 2.5.1 on windows XP. > The reported time clearly differs.
Let me guess: your E drive uses FAT filesystem? -- Leo -- http://mail.python.org/mailman/listinfo/python-list