Kal Sze <swordan...@gmail.com> added the comment:

Another failure case:

>>> from email.utils import parseaddr
>>> parseaddr('fo@o...@bar.com')
('', 'fo@o')

If I understand the RFC correctly, the correct results should be ('', '') 
because there are two '@' signs. The first '@' would need to be quoted for the 
address to be valid.

----------
nosy: +Kal Sze2

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34155>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to