Re: [python-win32] File Time: win32file vs Python ?

2009-07-06 Thread Gabriel Genellina
En Sat, 04 Jul 2009 03:31:11 -0300, Robert kxrobe...@googlemail.com escribió: Guess this is wrong in win32file; or win32file looses info by early conversion to digits. There is certainly something fishy with win32file. GetFileTime/SetFileTime don't even agree about the times being local or

Re: [python-win32] File Time: win32file vs Python ?

2009-07-05 Thread Gabriel Genellina
En Sat, 04 Jul 2009 03:31:11 -0300, Robert kxrobe...@googlemail.com escribió: Guess this is wrong in win32file; or win32file looses info by early conversion to digits. There is certainly something fishy with win32file. GetFileTime/SetFileTime don't even agree about the times being local

Re: [python-win32] File Time: win32file vs Python ?

2009-07-03 Thread Robert
Tim Roberts wrote: Robert wrote: os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int(win32file.GetFileAttributesExW('x.txt')[-2]) - os.path.getmtime('x.txt') -7200 (Win XP) is this a bug, or is there a issue with timezones/summer time?

Re: [python-win32] File Time: win32file vs Python ?

2009-07-03 Thread Robert
] On Behalf Of Robert Sent: Thursday, July 02, 2009 5:07 PM To: python-win32@python.org Subject: [python-win32] File Time: win32file vs Python ? os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int(win32file.GetFileAttributesExW('x.txt')[-2

Re: [python-win32] File Time: win32file vs Python ?

2009-07-03 Thread Dave Angel
Tim Roberts wrote: Robert wrote: os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int(win32file.GetFileAttributesExW('x.txt')[-2]) - os.path.getmtime('x.txt') -7200 (Win XP) is this a bug, or is

[python-win32] File Time: win32file vs Python ?

2009-07-02 Thread Robert
os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int(win32file.GetFileAttributesExW('x.txt')[-2]) - os.path.getmtime('x.txt') -7200 (Win XP) is this a bug, or is there a issue with timezones/summer time? aren't time.time() values absolute?

Re: [python-win32] File Time: win32file vs Python ?

2009-07-02 Thread Tim Roberts
Robert wrote: os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int(win32file.GetFileAttributesExW('x.txt')[-2]) - os.path.getmtime('x.txt') -7200 (Win XP) is this a bug, or is there a issue with timezones/summer time? aren't time.time()

Re: [python-win32] File Time: win32file vs Python ?

2009-07-02 Thread Paul Koning
@python.org] On Behalf Of Robert Sent: Thursday, July 02, 2009 5:07 PM To: python-win32@python.org Subject: [python-win32] File Time: win32file vs Python ? os.path.getmtime('x.txt') 1193160881 int(win32file.GetFileAttributesExW('x.txt')[-2]) 1193153681 int