[issue26426] email examples: incorrect use of email.headerregistry.Address

2016-02-24 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue26426] email examples: incorrect use of email.headerregistry.Address

2016-02-24 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report. This is a duplicate of issue 26176. Would you like to send a patch? -- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> EmailMessage example doesn't work ___

[issue26426] email examples: incorrect use of email.headerregistry.Address

2016-02-24 Thread Jakub Wilk
New submission from Jakub Wilk: https://docs.python.org/3/library/email-examples.html#examples-using-the-provisional-api contains the following code: from email.headerregistry import Address ... msg['From'] = Address("Pepé Le Pew", "p...@example.com") msg['To'] = (Address("Penelope Pussycat", "