Author giampaolo.rodola
Recipients eric.araujo, giampaolo.rodola, pitrou, rosslagerwall
Date 2013-03-21.16:12:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363882320.5.0.636160512227.issue13564@psf.upfronthosting.co.za>
In-reply-to
Content
After digging a bit further it seems EAGAIN occurs in case a timeout was previously set against the socket as in ftplib.FTP(..., timeout=2) (at least on Linux, FWICT).

As such, we can debate whether avoid using select/poll if timeout was not set.
I'll that a look at the man pages of the other POSIX platforms and figure whether EAGAIN is interpreted as on Linux.

Other than that, the patch is reasonably ok to me and can be committed as-is and blocksize argument tuning can be discussed in a separate ticket.
History
Date User Action Args
2013-03-21 16:12:00giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, eric.araujo, rosslagerwall
2013-03-21 16:12:00giampaolo.rodolasetmessageid: <1363882320.5.0.636160512227.issue13564@psf.upfronthosting.co.za>
2013-03-21 16:12:00giampaolo.rodolalinkissue13564 messages
2013-03-21 16:12:00giampaolo.rodolacreate