[New-bugs-announce] [issue1067] test_smtplib failures (caused by asyncore)

Thomas Wouters report at bugs.python.org
Fri Aug 31 01:53:48 CEST 2007


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 <report at bugs.python.org>
<http://bugs.python.org/issue1067>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asyncore.diff
Type: application/octet-stream
Size: 2411 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070830/d96bd774/attachment.obj 


More information about the New-bugs-announce mailing list