summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2004-03-21 19:52:01 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2004-03-21 19:52:01 (GMT)
commit419af88b34fb84062baed5c0be7f6c9e72fcb77d (patch)
tree33cd6f699988b043866a715d74615e5559030cbf /Lib/asyncore.py
parent0ebbbe30f1652c71133542f237f69a008395a8e7 (diff)
downloadcpython-419af88b34fb84062baed5c0be7f6c9e72fcb77d.zip
cpython-419af88b34fb84062baed5c0be7f6c9e72fcb77d.tar.gz
cpython-419af88b34fb84062baed5c0be7f6c9e72fcb77d.tar.bz2
[Part of patch #909005] Remove Mac code for writable
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r--Lib/asyncore.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index 6e128b1..ba4a698 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -259,14 +259,8 @@ class dispatcher:
def readable(self):
return True
- if os.name == 'mac':
- # The macintosh will select a listening socket for
- # write if you let it. What might this mean?
- def writable(self):
- return not self.accepting
- else:
- def writable(self):
- return True
+ def writable(self):
+ return True
# ==================================================
# socket object methods.