bpoaugust <[email protected]> added the comment:
I think an id of the form
<A.A.A.A(A-A)@A.A.A>
should be allowed, but it generates
<A.A.A.A
i.e. stops at the '('
I read the syntax from RFC5322 as follows:
id-left => obs-id-left => local-part => obs-local-part => word *("." word)
word => atom => [CFWS] 1*atext [CFWS]
'<[email protected] (A A)>' should also be allowed but generates '<[email protected]> (A A)'
and '<[email protected] A.A>' gives '<[email protected]> '
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46392>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com