[issue1025395] email.Utils.parseaddr fails to parse valid addresses

Stuart D Gathman report at bugs.python.org
Thu Jan 10 17:39:05 CET 2008


Stuart D Gathman added the comment:

Repeating because previous real life test case was rejected as 'spam':

It also fails to parse:
>>> from email.Utils import parseaddr
>>> parseaddr('foo at spammer.com <bar at baz.com>')
('', 'foo at spammer.com')

Getting the wrong part as the actual email to boot!  Checked 2.4 and 2.5.

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1025395>
_____________________________________


More information about the Python-bugs-list mailing list