Re: telnet.read_until() from telnetlib



my newsreader told me that sp1d3rx@xxxxxxxxx wrote:
> "If end of file is found and no text was read, raise EOFError.
> Otherwise, when nothing matches, return (-1, None, text) where text is
> the text received so far (may be the empty string if a timeout
> happened). "

What if:
- exception has not been raised
and:
- time passed is smaller than timeout?
How to interpret such behaviour?


--
Free Software - find interesting programs and change them
NetHack - meet interesting creatures, kill them and eat their bodies
Usenet - meet interesting people from all over the world and flame them
Decopter - unrealistic helicopter simulator, get it from http://decopter.sf.net
.



Relevant Pages

  • ftplib strange behaviour
    ... IMVHO this is not a timeout error because my script import ... resp = self.getmultiline ... if not line: raise EOFError ... Could this error be explained only as a ftp server problem? ...
    (comp.lang.python)
  • What governs timeout?
    ... Often, when my access to the network is slow, I have to repeat actions ... because somewhere in the OS there has been a timeout. ... post a message to a newsgroup from my newsreader and I have to ... try half a dozen times before the damn thing gets out. ...
    (microsoft.public.win2000.networking)