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 sdaoden
Recipients sdaoden
Date 2011-04-06.11:04:56
SpamBayes Score 7.1234213e-06
Marked as misclassified No
Message-id <1302087898.67.0.0241600221025.issue11780@psf.upfronthosting.co.za>
In-reply-to
Content
This is what one gets if using a BytesParser() generated message:


encoders.encode_7or8bit(msg)
AttributeError: 'list' object has no attribute 'decode'

encoders.encode_base64(msg)
TypeError: expected bytes, not list

encoders.encode_quopri(msg)
TypeError: 'list' does not support the buffer interface


I'll attach a diff against 3.3 test_email.py which adds stupid
tests (there is really no assertNoRaises()).
Maybe they should also be extended so that it is actually tested
wether the generated content is also correct.
History
Date User Action Args
2011-04-06 11:04:58sdaodensetrecipients: + sdaoden
2011-04-06 11:04:58sdaodensetmessageid: <1302087898.67.0.0241600221025.issue11780@psf.upfronthosting.co.za>
2011-04-06 11:04:56sdaodenlinkissue11780 messages
2011-04-06 11:04:56sdaodencreate