1:func:`email.utils.getaddresses` and :func:`email.utils.parseaddr` now 2return ``('', '')`` 2-tuples in more situations where invalid email 3addresses are encountered instead of potentially inaccurate values. Add 4optional *strict* parameter to these two functions: use ``strict=False`` to 5get the old behavior, accept malformed inputs. 6``getattr(email.utils, 'supports_strict_parsing', False)`` can be use to check 7if the *strict* paramater is available. Patch by Thomas Dwyer and Victor 8Stinner to improve the CVE-2023-27043 fix.