Skip to content

Commit 4bc26d9

Browse files
committed
desp wip 2
1 parent 2077e2f commit 4bc26d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

envelope/address.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _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.
1818
# if sys.version_info < (3, 12, 3):
19-
if sys.version_info < (3, 12):
19+
if sys.version_info <= (3, 11):
2020
return getaddresses(*args)
2121
return getaddresses(*args, strict=False)
2222

@@ -26,7 +26,7 @@ def _parseaddr(*args):
2626
# We might start using strict=True (default) in the future.
2727
# README should reflect that.
2828
# if sys.version_info < (3, 12, 3):
29-
if sys.version_info < (3, 12):
29+
if sys.version_info <= (3, 11):
3030
return parseaddr(*args)
3131
return parseaddr(*args, strict=False)
3232

0 commit comments

Comments
 (0)