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

2010-06-01 Thread R. David Murray
R. David Murray 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: -> behavior

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

2010-05-05 Thread Éric Araujo
Changes by Éric Araujo : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bu

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

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- assignee: barry -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-04-12 Thread Shashwat Anand
Shashwat Anand 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: +l0nwlf, r.david.murray Added fi

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

2009-07-19 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> barry nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

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

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

2009-07-19 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 ba