This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jackdied
Recipients jackdied, ps
Date 2009-05-26.22:40:25
SpamBayes Score 0.00045899543
Marked as misclassified No
Message-id <1243377627.3.0.0933279508758.issue6106@psf.upfronthosting.co.za>
In-reply-to
Content
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_until: times out on Username match, returns all HOST text so far.
You: *send username*
HOST: >
read_until: times out on Password match, returns '>'
You: *send password*
read_until: times out on '>' match, returns ''

This is the only way I could repeat the problem using a local Echo server.

Please let me know if using the telnetlib.py from 3.1 works for you.
History
Date User Action Args
2009-05-26 22:40:27jackdiedsetrecipients: + jackdied, ps
2009-05-26 22:40:27jackdiedsetmessageid: <1243377627.3.0.0933279508758.issue6106@psf.upfronthosting.co.za>
2009-05-26 22:40:26jackdiedlinkissue6106 messages
2009-05-26 22:40:25jackdiedcreate