New submission from David Christian <d...@rpath.com>: in telnetlib's process_rawq, rawq_getchar() returns a bytes object of length 1.
However, that buffer is then compared directly against the variable IAC, which is the integer 255. This is always false, as bytes([255]) != 255. Checked svn and looks like this issue still exists as of 2/8/2009. ---------- messages: 81424 nosy: dugan severity: normal status: open title: telnetlib process_rawq buffer handling is confused versions: Python 3.0, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5188> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com