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 r.david.murray
Recipients John Hagen, corona10, jackdied, r.david.murray
Date 2017-04-28.02:03:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
We generally don't do this kind of type checking in the standard library.  The message may not be clear, but it is accurate and decipherable, especially given the fact that the write parameter name is 'buffer'.  I don't think anything should be done here.  If you want type checking use the types module :)

Thanks for the PR, @corona10, but I think we should just close this issue.  Other devs may disagree, though, so I'm not closing it myself.

On the other hand, enhancing telnetlib to also work with strings might be a nice project for someone.  It would require some design discussion, though, so I don't think anyone should hop on it without discussing it somewhere first (python-ideas, maybe?).
Date User Action Args
2017-04-28 02:03:20r.david.murraysetrecipients: + r.david.murray, jackdied, John Hagen, corona10
2017-04-28 02:03:20r.david.murraysetmessageid: <>
2017-04-28 02:03:20r.david.murraylinkissue29621 messages
2017-04-28 02:03:19r.david.murraycreate