Kaydet (Commit) 9b67621b authored tarafından Guido van Rossum's avatar Guido van Rossum

Cast mtime gotten from stat() to long int -- else it won't work

on the Mac.

Jack!  Please fix this in the Mac distributions!
üst 8542c8e1
......@@ -16,7 +16,7 @@ def compile(file, cfile = None):
f = open(file)
codestring = f.read()
f.close()
timestamp = os.stat(file)[8]
timestamp = long(os.stat(file)[8])
codeobject = __builtin__.compile(codestring, file, 'exec')
if not cfile:
cfile = file + 'c'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment