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 <>
I submitted PR to handle this issue like this way.

tn.write([b'data sample without IAC'])
File "/Users/corona10/cpython/Lib/", 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.
Date User Action Args
2017-04-28 01:48:15corona10setrecipients: + corona10, John Hagen
2017-04-28 01:48:15corona10setmessageid: <>
2017-04-28 01:48:15corona10linkissue29621 messages
2017-04-28 01:48:15corona10create