- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | r.david.murray |
|---|---|
| Recipients | barry, bsiem, maxking, r.david.murray |
| Date | 2019-07-10.17:57:36 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1562781457.23.0.222726460611.issue37482@roundup.psfhosted.org> |
| In-reply-to |
| Content |
|---|
FYI, it would have been most helpful if you had posted your example in the issue text instead of as an attached file, as it explains the problem better than your text does :) Here is a minimal reproducer: >>> m = EmailMessage(policy=strict) >>> m['From'] = '"Foo Bar, España" <foo@example.com>' >>> bytes(m) b'From: Foo Bar, =?utf-8?q?Espa=C3=B1a?= <foo@example.com>\n\n' This serialization of the header is, as you say, invalid. Either the comma should be encoded, or the "Foo Bar," should be in quotes. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-07-10 17:57:37 | r.david.murray | set | recipients: + r.david.murray, barry, maxking, bsiem |
| 2019-07-10 17:57:37 | r.david.murray | set | messageid: <1562781457.23.0.222726460611.issue37482@roundup.psfhosted.org> |
| 2019-07-10 17:57:37 | r.david.murray | link | issue37482 messages |
| 2019-07-10 17:57:36 | r.david.murray | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
