1515def _getaddresses (* args ):
1616 # NOTE Python finally changed the old way of parsing wrong addresses.
1717 # We might start using strict=True (default) in the future.
18- if sys .version_info <= (3 , 11 ):
18+ if sys .version_info < (3 , 12 , 3 ):
1919 return getaddresses (* args )
2020 return getaddresses (* args , strict = False )
2121
@@ -24,7 +24,7 @@ def _parseaddr(*args):
2424 # NOTE Python finally changed the old way of parsing wrong addresses.
2525 # We might start using strict=True (default) in the future.
2626 # README should reflect that.
27- if sys .version_info <= (3 , 11 ):
27+ if sys .version_info < (3 , 12 , 3 ):
2828 return parseaddr (* args )
2929 return parseaddr (* args , strict = False )
3030
@@ -187,7 +187,7 @@ def remedy(s):
187187
188188 """
189189 What happens when the string have more addresses?
190- It also needs to get the address from string like "person@example.com, <person@example.com>" so we need to
190+ It also needs to get the address from string like "person@example.com, <person@example.com>" so we need to
191191 take care of the comma and semicolon as well.
192192 """
193193 if s .group (1 ).strip () == s .group (2 ).strip ():
0 commit comments