Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #102955
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: ftplib throws: IndexError: tuple index out of range |
| Date | 2016-02-15 11:04 +0100 |
| Organization | None |
| Message-ID | <mailman.137.1455530664.22075.python-list@python.org> (permalink) |
| References | <56C05CEF.5080304@rece.vub.ac.be> <n9q04l$ese$1@ger.gmane.org> <56C0C308.6000202@rece.vub.ac.be> |
Antoon Pardon wrote: >> It looks like the actual error is socket.timeout which is probably raised >> from somewhere inside the stdlib without args. > > I think I know what is going on. I have my own timeout mechanism at work > here, that works with signals and alarm. When the SIGALRM fires I just > raise the socket.timeout without arguments, which then causes the problem. OK, then it's self-inflicted pain ;)
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: ftplib throws: IndexError: tuple index out of range Peter Otten <__peter__@web.de> - 2016-02-15 11:04 +0100
csiph-web