New submission from Thomas Wouters: test_smtplib fails because asyncore uses bytes(data) where data may be bytes or str or some undefined type. The attached patch fixes it to the extend that test_smtplib works again (plus a small fix in test_smtplib itself.) I'm not sure if this is the right thing to do -- maybe it should be using iso-8859-1, or maybe asyncore and asynchat should be ripped out by the roots and burned at the stake.
---------- assignee: gvanrossum files: asyncore.diff keywords: patch messages: 55520 nosy: gvanrossum, twouters severity: normal status: open title: test_smtplib failures (caused by asyncore) __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1067> __________________________________
asyncore.diff
Description: Binary data
_______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com