Kaydet (Commit) 419af88b authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

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

üst 0ebbbe30
...@@ -259,14 +259,8 @@ class dispatcher: ...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment