summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-24 22:27:16 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-24 22:27:16 (GMT)
commitc45289cb8138d8747561bb5633ac4c17bad3e40a (patch)
tree32347df2d571883fd391b8a40225875bc821d76e /Lib/dos-8x3
parent52cf578382cf6cca2c9cf4e1de5d495276cf982d (diff)
downloadcpython-c45289cb8138d8747561bb5633ac4c17bad3e40a.zip
cpython-c45289cb8138d8747561bb5633ac4c17bad3e40a.tar.gz
cpython-c45289cb8138d8747561bb5633ac4c17bad3e40a.tar.bz2
The usual :-(
Diffstat (limited to 'Lib/dos-8x3')
-rwxr-xr-xLib/dos-8x3/py_compi.py2
-rwxr-xr-xLib/dos-8x3/socketse.py2
2 files changed, 2 insertions, 2 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):