Oz Tamir added the comment: I created a patch that will raise a TypeError when _write_data() has recvived an argument that is not a str.
I found this exception and the error message it provide to be more straight forward and helpful when encountering this error. ---------- keywords: +patch Added file: http://bugs.python.org/file39529/issue24312.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24312> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com