Ivan Tomilov added the comment: I see, thanks for the clarification. But in my OS X the things are different and I spent about 1 hour trying this code to take off. Maybe it's better to change this code to avoid spending time for such subtle bugs? Say: tn.read_until(b"Password:") tn.read_eager()
Or just add a comment. It's confusing when one takes code from the official website and it doesn't work. What do you think? On 11 November 2016 at 02:05, R. David Murray <rep...@bugs.python.org> wrote: > > R. David Murray added the comment: > > Well, the example code is correct for a typical telnet service running on > a unix variant. That will output a space after the colon, so that the > user's input is separated from the colon when they start to type. > > ---------- > nosy: +r.david.murray > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue28661> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28661> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com