Varun Sharma added the comment: Afer getting a lot of help from david on irc, i finally improved the patch. Now it catches AttributeError and raises TypeError for non-object types in attach function.
---------- Added file: http://bugs.python.org/file34269/test_email_attach_to_string.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11558> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com