Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Is there a good reason for this?
Most definitely. In Python 2.x, the string literal denotes a byte string, whereas in 3.x, it is a character string. It's not possible to send a character string directly over the network; try encoding it. It might be considered a bug that sendmail accepts a string at all as long as the string only consists of ASCII characters; it should reject such strings as well. ---------- nosy: +loewis _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4403> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com