Pal Subbiah added the comment:
Thanks Irek. It works so well now after I modified the telnetlib.py as
you suggested. I also added decode('ascii') with read_until.
Pal Subbiah
--
___
Python tracker
<http://bugs.python.
Pal Subbiah added the comment:
Thanks for your support.
But the telnetlib from 3.1 also behaves in the same way. "read_until"
always times out and returns b''. The problem seems to be with the byte
string expected. The string after letter b is
New submission from Pal Subbiah :
The telnet-read_until does not read the pattern and returns b'' for
line 15 in the file given.
--
components: Library (Lib)
files: telnet_n.py
messages: 88319
nosy: ps
severity: normal
status: open
title: read_until
type: crash
versions: