[New-bugs-announce] [issue6521] Contradictory documentation for email.mime.text.MIMEText

Antoine Pitrou report at bugs.python.org
Sun Jul 19 15:19:41 CEST 2009


New submission from Antoine Pitrou <pitrou at free.fr>:

It is not obvious whether encoding of an unicode argument will happen or
not:

« [...] No guessing or encoding is performed on the text data.

Changed in version 2.4: The previously deprecated _encoding argument has
been removed. Encoding happens implicitly based on the _charset argument. »

http://docs.python.org/library/email.mime.html#email.mime.text.MIMEText

----------
assignee: georg.brandl
components: Documentation
messages: 90711
nosy: georg.brandl, pitrou
severity: normal
stage: needs patch
status: open
title: Contradictory documentation for email.mime.text.MIMEText
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6521>
_______________________________________


More information about the New-bugs-announce mailing list