telnet.read_until() from telnetlib

Jacek Popławski jpopl at interia.pl
Wed Aug 31 03:20:15 EDT 2005


my newsreader told me that sp1d3rx at gmail.com 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



More information about the Python-list mailing list