Thanks for the bug report, we'll fix this for beta 7.

Do you want to help develop Dynamic languages on CLR? 
(http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Tuesday, May 02, 2006 2:55 AM
To: Discussion of IronPython
Subject: [IronPython] os.stat doesn't return time values in seconds

# test.py
import os, time
name = "newfile"
f = open(name, "w")
f.close()
t = time.time()
mt = os.stat(name).st_mtime
print t, mt

Expected result: t and mt doesn't differ by more than 1.

Attached patch fixes the problem.

Seo Sanghyeon
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to