Commits

Anonymous committed 1fec88b

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

Jack! Please fix this in the Mac distributions!

  • Participants
  • Parent commits 324e1e3
  • Branches legacy-trunk

Comments (0)

Files changed (1)

Lib/py_compile.py

 	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'