mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
The usual :-(
This commit is contained in:
parent
52cf578382
commit
c45289cb81
4 changed files with 4 additions and 4 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue