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.

Author corona10
Recipients John Hagen, corona10
Date 2017-04-28.01:48:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493344095.42.0.244329488584.issue29621@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-04-28 01:48:15corona10setrecipients: + corona10, John Hagen
2017-04-28 01:48:15corona10setmessageid: <1493344095.42.0.244329488584.issue29621@psf.upfronthosting.co.za>
2017-04-28 01:48:15corona10linkissue29621 messages
2017-04-28 01:48:15corona10create