From: Andrew M. Kuchling Date: Sun, 21 Mar 2004 19:52:01 +0000 (+0000) Subject: [Part of patch #909005] Remove Mac code for writable X-Git-Tag: v2.4a1~625 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=419af88b34fb84062baed5c0be7f6c9e72fcb77d;p=thirdparty%2FPython%2Fcpython.git [Part of patch #909005] Remove Mac code for writable --- diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 6e128b114868..ba4a69895fed 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.