The usual :-(
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 @@
 	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 @@
 
     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 @@
 	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 @@
 
     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):