Giampaolo Rodola' <g.rod...@gmail.com> added the comment: Ok for EAGAIN.
I'm not completely sure about EPIPE on recv() as it is not listed here: http://www.kernel.org/doc/man-pages/online/pages/man2/recv.2.html ...although I think it's ok to treat it as an alias for connection lost anyway. In pyftpdlib I treat both EPIPE and EBADF as disconnect events, and this works with both select() and poll(). Your patches should be targeted for python 3.3 (and not 2.x). ---------- _______________________________________ 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