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.

classification
Title: bug in telnetlib- 'opt' instead of 'c'
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, tzot
Priority: low Keywords:

Created on 2002-05-09 11:49 by tzot, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg10705 - (view) Author: Χρήστος Γεωργίου (Christos Georgiou) (tzot) * Date: 2002-05-09 11:49
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
msg10706 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-13 14:56
Logged In: YES 
user_id=6380

Thanks! Fixed in CVS.
History
Date User Action Args
2022-04-10 16:05:18adminsetgithub: 36578
2002-05-09 11:49:10tzotcreate