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 loewis
Recipients ccgus, loewis
Date 2008-11-24.05:50:12
SpamBayes Score 2.0640825e-06
Marked as misclassified No
Message-id <492A4091.8050800@v.loewis.de>
In-reply-to <1227499144.72.0.0111235228814.issue4403@psf.upfronthosting.co.za>
Content
> 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.
History
Date User Action Args
2008-11-24 05:50:14loewissetrecipients: + loewis, ccgus
2008-11-24 05:50:13loewislinkissue4403 messages
2008-11-24 05:50:12loewiscreate