[issue34155] email.utils.parseaddr mistakenly parse an email

Mark Sapiro report at bugs.python.org
Tue Nov 6 13:14:44 EST 2018


Mark Sapiro <mark at msapiro.net> added the comment:

The issue is illustrated much more simply as follows:

email.utils.parseaddr('John Doe jdoe at example.com <other at example.net>')

returns

('', 'John Doe jdoe at example.com')

whereas it should return

('John Doe jdoe at example.com', 'other at example.net')

I'll look at developing a patch.

----------
nosy: +msapiro

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34155>
_______________________________________


More information about the Python-bugs-list mailing list