Ross Rhodes added the comment:
Hi Konstantin,
Thanks for raising this issue. It appears the field provided in your example
does not conform to RFC 2822 followed by this email library. Square brackets
are treated as special characters in [section
New submission from Konstantin Ryabitsev :
What it currently does:
>>> import email.utils
>>> email.utils.getaddresses(['Shuming [范書銘] '])
[('', 'Shuming'), ('', ''), ('', '范書銘'), ('', ''), ('', 'shumi...@realtek.com')]
What it should do:
>>> import email.utils
>>>