[Python-bugs-list] [ python-Bugs-508100 ] telnetlib in debug mode

noreply@sourceforge.net noreply@sourceforge.net
Thu, 21 Mar 2002 19:33:08 -0800


Bugs item #508100, was opened at 2002-01-24 14:39
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=508100&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Cedric Moreau (c_moe)
>Assigned to: A.M. Kuchling (akuchling)
Summary: telnetlib in debug mode

Initial Comment:
In telnetlib.py, in function process_rawq() the display
of IAC mode options in debug mode isn't right:
Actually:
...
self.msg('IAC %s %d', c == DO and 'DO' or 'DONT', ord(c))
...
self.msg('IAC %s %d', c == WILL and 'WILL' or 'WONT',
ord(c))

Should be:
...
self.msg('IAC %s %d', c == DO and 'DO' or 'DONT', ord(opt))
...
self.msg('IAC %s %d', c == WILL and 'WILL' or 'WONT',
ord(opt))
...


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=508100&group_id=5470