This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients giampaolo.rodola, socketpair
Date 2011-03-01.22:12:44
SpamBayes Score 0.0040616198
Marked as misclassified No
Message-id <1299017576.38.0.149767088881.issue11265@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2011-03-01 22:12:56giampaolo.rodolasetrecipients: + giampaolo.rodola, socketpair
2011-03-01 22:12:56giampaolo.rodolasetmessageid: <1299017576.38.0.149767088881.issue11265@psf.upfronthosting.co.za>
2011-03-01 22:12:44giampaolo.rodolalinkissue11265 messages
2011-03-01 22:12:44giampaolo.rodolacreate