summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
authorGiampaolo RodolĂ  <g.rodola@gmail.com>2011-03-03 14:11:46 (GMT)
committerGiampaolo RodolĂ  <g.rodola@gmail.com>2011-03-03 14:11:46 (GMT)
commit00a42865912a8f3becdbb1dfc5331e3a7495ba82 (patch)
tree0e9696b2c0efde713987468dbde2808f4d8e3dfc /Lib/asyncore.py
parent9c9105dc8137b48c81154f6b194767bf4afd8812 (diff)
downloadcpython-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.py3
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))