R. David Murray added the comment:
It's sort-of a bug, and sort-of not. getaddresses is expecting to parse an
already unfolded header, but the pre-3.3 email package does not unfold headers
automatically. See issue 11050 for more information.
--
resolution: -> duplicate
stage: -> co
New submission from Andreas Dewes:
email.utils.getaddresses doesn't seem to work if the quoted part of address
contains "\r" or "\n" characters. An example:
---
from email.utils import getaddresses
address = '"Data Mining, Statistics, Big Data, and Data Visualization Group\r\n
Members" '
getad