[issue6521] Contradictory documentation for email.mime.text.MIMEText

2010-06-01 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This is not quite a duplicate of issue 1368247, but in the patch for that issue the doc changes should clarify the ambiguity. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed type: -

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- assignee: barry - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6521 ___ ___

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2010-05-05 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6521 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2010-04-12 Thread Shashwat Anand
Shashwat Anand anand.shash...@gmail.com added the comment: UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128) The lack of unicode encoding support should be mentioned explicitly. Attaching a doc patch. -- keywords: +patch nosy:

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2009-07-19 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@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

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2009-07-19 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Apparently it doesn't: message = MIMEText(uhéhé, _charset=utf-8) Traceback (most recent call last): File stdin, line 1, in module File /usr/lib64/python2.6/email/mime/text.py, line 30, in __init__ self.set_payload(_text, _charset) File

[issue6521] Contradictory documentation for email.mime.text.MIMEText

2009-07-19 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - barry nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6521 ___