[Part of patch #909005] Remove Mac code for writable

This commit is contained in:
Andrew M. Kuchling 2004-03-21 19:52:01 +00:00
parent 0ebbbe30f1
commit 419af88b34
1 changed files with 2 additions and 8 deletions

View File

@ -259,14 +259,8 @@ class dispatcher:
def readable(self): def readable(self):
return True return True
if os.name == 'mac': def writable(self):
# The macintosh will select a listening socket for return True
# write if you let it. What might this mean?
def writable(self):
return not self.accepting
else:
def writable(self):
return True
# ================================================== # ==================================================
# socket object methods. # socket object methods.