diff options
author | Guido van Rossum <guido@python.org> | 1996-10-24 22:27:16 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-10-24 22:27:16 (GMT) |
commit | c45289cb8138d8747561bb5633ac4c17bad3e40a (patch) | |
tree | 32347df2d571883fd391b8a40225875bc821d76e /Lib | |
parent | 52cf578382cf6cca2c9cf4e1de5d495276cf982d (diff) | |
download | cpython-c45289cb8138d8747561bb5633ac4c17bad3e40a.zip cpython-c45289cb8138d8747561bb5633ac4c17bad3e40a.tar.gz cpython-c45289cb8138d8747561bb5633ac4c17bad3e40a.tar.bz2 |
The usual :-(
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/dos-8x3/py_compi.py | 2 | ||||
-rwxr-xr-x | Lib/dos-8x3/socketse.py | 2 | ||||
-rwxr-xr-x | Lib/dos_8x3/py_compi.py | 2 | ||||
-rwxr-xr-x | Lib/dos_8x3/socketse.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Lib/dos-8x3/py_compi.py b/Lib/dos-8x3/py_compi.py index 2e68ba8..fba7b1d 100755 --- a/Lib/dos-8x3/py_compi.py +++ b/Lib/dos-8x3/py_compi.py @@ -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' diff --git a/Lib/dos-8x3/socketse.py b/Lib/dos-8x3/socketse.py index 9a646ab..6c371e2 100755 --- a/Lib/dos-8x3/socketse.py +++ b/Lib/dos-8x3/socketse.py @@ -392,7 +392,7 @@ class StreamRequestHandler(BaseRequestHandler): def setup(self): self.connection = self.request - self.rfile = self.connection.makefile('rb') + self.rfile = self.connection.makefile('rb', 0) self.wfile = self.connection.makefile('wb', 0) def finish(self): diff --git a/Lib/dos_8x3/py_compi.py b/Lib/dos_8x3/py_compi.py index 2e68ba8..fba7b1d 100755 --- a/Lib/dos_8x3/py_compi.py +++ b/Lib/dos_8x3/py_compi.py @@ -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' diff --git a/Lib/dos_8x3/socketse.py b/Lib/dos_8x3/socketse.py index 9a646ab..6c371e2 100755 --- a/Lib/dos_8x3/socketse.py +++ b/Lib/dos_8x3/socketse.py @@ -392,7 +392,7 @@ class StreamRequestHandler(BaseRequestHandler): def setup(self): self.connection = self.request - self.rfile = self.connection.makefile('rb') + self.rfile = self.connection.makefile('rb', 0) self.wfile = self.connection.makefile('wb', 0) def finish(self): |