[Python-bugs-list] [ python-Bugs-554073 ] bug in telnetlib- 'opt' instead of 'c'

noreply@sourceforge.net noreply@sourceforge.net
Mon, 13 May 2002 07:56:36 -0700


Bugs item #554073, was opened at 2002-05-09 07:49
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=554073&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 4
Submitted By: Christos Georgiou (tzot)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug in telnetlib- 'opt' instead of 'c'

Initial Comment:
Line 424 of telnetlib.py is:
  self.msg('IAC %d not recognized' % ord(opt))
but this is wrong, because the variable that should be 
used is 'c', as such:
  self.msg('IAC %d not recognized' % ord(c))

Reference: http://groups.google.com/groups?selm=a4me60%
24brk%240%40216.39.172.122

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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-13 10:56

Message:
Logged In: YES 
user_id=6380

Thanks! Fixed in CVS.

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

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