Dong-hee Na added the comment:

I submitted PR to handle this issue like this way.

tn.write([b'data sample without IAC'])
File "/Users/corona10/cpython/Lib/telnetlib.py", line 288, in write
    raise TypeError('%s must be a bytes-like type.' % buffer)
TypeError: [b'data sample without IAC'] must be a bytes-like type.

----------
nosy: +corona10

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29621>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to