[Part of patch #909005] Remove Mac code for writable
This commit is contained in:
parent
0ebbbe30f1
commit
419af88b34
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue