[issue6106] read_until

2009-07-27 Thread Jack Diederich
Jack Diederich added the comment: Thanks for the update Irek (and the help!). You are now listed in Misc/ACKS. -- ___ Python tracker ___ _

[issue6106] read_until

2009-07-27 Thread Irek Wlizlo
Irek Wlizlo added the comment: Hi, I updated my profile with name - Irek Wlizlo -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6106] read_until

2009-07-26 Thread Jack Diederich
Jack Diederich added the comment: fixed in r74217 My thanks to everyone who contributed to this bug. "irek" if you let me know your name I'll add it to Misc/ACKS as well. PS, The additional testcase is not ideal; it tests the bad behavior by hooking into the debug output instead of testing t

[issue6106] read_until

2009-07-23 Thread Pal Subbiah
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

[issue6106] read_until

2009-07-23 Thread irek
irek added the comment: Hi, I head same problem on 3.0 and 3.1 versions This was because of incompatibility of types in comparison My solution is to modify Lib/telnetlib.py line 462 cmd = self.iacseq[1] to cmd = self.iacseq[1:2] Irek -- nosy: +irczan versions: +Python 3.1 __

[issue6106] read_until

2009-05-27 Thread Pal Subbiah
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 not passed properly. --

[issue6106] read_until

2009-05-26 Thread Jack Diederich
Changes by Jack Diederich : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6106] read_until

2009-05-26 Thread Jack Diederich
Jack Diederich added the comment: Try using telnetlib.py from python3.1. It fixes issues in telnet out of band negotiations. http://svn.python.org/projects/python/branches/py3k/Lib/telnetlib.py Here is what I think is happening: HOST: b'User' + IAC + ECHO + DONT + b'name:\nPassword\n:' read

[issue6106] read_until

2009-05-25 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> jackdied nosy: +jackdied ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue6106] read_until

2009-05-25 Thread Pal Subbiah
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: Python 3.0 Adde