New submission from Марк Коренберг <socketp...@gmail.com>:

According to man:
----------------------
ERRORS
       EAGAIN or EWOULDBLOCK
The socket is marked nonblocking and no connections are present to be accepted. 
 POSIX.1-2001 allows either error to be returned for this case, and does not 
require these constants to have the same value, so a portable application 
should check for both possibilities.
-----------------

patch included

----------
components: Library (Lib)
files: z.patch
keywords: patch
messages: 128939
nosy: mmarkk
priority: normal
severity: normal
status: open
title: asyncore does not check for EAGAIN errno
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file20817/z.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11265>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to