bpoaugust <sebbaz+...@gmail.com> 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] '<A.A.A@A.A (A A)>' should also be allowed but generates '<A.A.A@A.A> (A A)' and '<A@A.A.A A.A>' gives '<A@A.A.A> ' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46392> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com