Giampaolo Rodola' added the comment: A much larger patch which should address all issues is in attachment. Updates:
- use poll() instead of select() whenever possible - take socket timeout into account - take SSL/FTPS into account - when using select() look for EMFILE in case num fds > FD_SETSIZE - look for (AttributeError, io.UnsupportedOperation) when invoking file.fileno() instead of Exception, which seemed too general ---------- Added file: http://bugs.python.org/file29351/ftplib-sendfile3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13564> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com