diff options
author | 2011-03-03 14:11:46 +0000 | |
---|---|---|
committer | 2011-03-03 14:11:46 +0000 | |
commit | 00a42865912a8f3becdbb1dfc5331e3a7495ba82 (patch) | |
tree | 0e9696b2c0efde713987468dbde2808f4d8e3dfc /Lib/asyncore.py | |
parent | Merged revisions 88722 via svnmerge from (diff) | |
download | cpython-00a42865912a8f3becdbb1dfc5331e3a7495ba82.tar.gz cpython-00a42865912a8f3becdbb1dfc5331e3a7495ba82.tar.bz2 cpython-00a42865912a8f3becdbb1dfc5331e3a7495ba82.zip |
Merged revisions 88726 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88726 | giampaolo.rodola | 2011-03-03 15:10:58 +0100 (gio, 03 mar 2011) | 1 line
fix attribute error
........
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 0ad78db714d..5d7bddaf84c 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -54,7 +54,8 @@ import warnings import os from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, EINVAL, \ - ENOTCONN, ESHUTDOWN, EINTR, EISCONN, EBADF, ECONNABORTED, EPIPE, errorcode + ENOTCONN, ESHUTDOWN, EINTR, EISCONN, EBADF, ECONNABORTED, EPIPE, EAGAIN, \ + errorcode _DISCONNECTED = frozenset((ECONNRESET, ENOTCONN, ESHUTDOWN, ECONNABORTED, EPIPE, EBADF)) |