diff options
author | Giampaolo RodolĂ <g.rodola@gmail.com> | 2011-03-03 14:11:46 (GMT) |
---|---|---|
committer | Giampaolo RodolĂ <g.rodola@gmail.com> | 2011-03-03 14:11:46 (GMT) |
commit | 00a42865912a8f3becdbb1dfc5331e3a7495ba82 (patch) | |
tree | 0e9696b2c0efde713987468dbde2808f4d8e3dfc /Lib/asyncore.py | |
parent | 9c9105dc8137b48c81154f6b194767bf4afd8812 (diff) | |
download | cpython-00a42865912a8f3becdbb1dfc5331e3a7495ba82.zip cpython-00a42865912a8f3becdbb1dfc5331e3a7495ba82.tar.gz cpython-00a42865912a8f3becdbb1dfc5331e3a7495ba82.tar.bz2 |
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 0ad78db..5d7bdda 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)) |