commit | 9b67621b66d459bca4e4b21c0174640764c8d5c6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Oct 24 13:42:30 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Oct 24 13:42:30 1996 +0000 |
tree | 3ad93dd31cf873a47d0c582bcecbce8663aeeb4e | |
parent | 8542c8e1afd1f2a04dda3ab4519cc4dd99dde238 [diff] |
Cast mtime gotten from stat() to long int -- else it won't work on the Mac. Jack! Please fix this in the Mac distributions!
diff --git a/Lib/py_compile.py b/Lib/py_compile.py index 2e68ba8..fba7b1d 100644 --- a/Lib/py_compile.py +++ b/Lib/py_compile.py
@@ -16,7 +16,7 @@ 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'