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

noreply@sourceforge.net noreply@sourceforge.net
Mon, 29 Apr 2002 13:46:01 -0700


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: Closed
>Resolution: Fixed
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))
...


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

>Comment By: A.M. Kuchling (akuchling)
Date: 2002-04-29 16:46

Message:
Logged In: YES 
user_id=11375

Fixed by patch #416079.

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

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