[issue30835] AttributeError when parsing multipart email with invalid non-decodable Content-Transfer-Encoding

2017-07-03 Thread Andrew Donnellan
Changes by Andrew Donnellan : -- pull_requests: +2613 ___ Python tracker <http://bugs.python.org/issue30835> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30835] AttributeError when parsing multipart email with invalid non-decodable Content-Transfer-Encoding

2017-07-03 Thread Andrew Donnellan
New submission from Andrew Donnellan: Parsing an email containing a multipart Content-Type, along with a Content-Transfer-Encoding containing an invalid (non-ASCII-decodable) byte will fail. email.feedparser.FeedParser._parsegen() calls "self._cur.get('content-transfer-encoding