We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2077e2f commit 4bc26d9Copy full SHA for 4bc26d9
envelope/address.py
@@ -16,7 +16,7 @@ def _getaddresses(*args):
16
# NOTE Python finally changed the old way of parsing wrong addresses.
17
# We might start using strict=True (default) in the future.
18
# if sys.version_info < (3, 12, 3):
19
- if sys.version_info < (3, 12):
+ if sys.version_info <= (3, 11):
20
return getaddresses(*args)
21
return getaddresses(*args, strict=False)
22
@@ -26,7 +26,7 @@ def _parseaddr(*args):
26
27
# README should reflect that.
28
29
30
return parseaddr(*args)
31
return parseaddr(*args, strict=False)
32
0 commit comments