Skip to content

Commit 3b0622d

Browse files
committed
Specify Python 3.10+ connection
1 parent 2f7eb2f commit 3b0622d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

distributed/comm/tcp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
logger = logging.getLogger(__name__)
4444

4545

46-
# Workaround for OpenSSL 1.0.2 (can drop with OpenSSL 1.1.1)
46+
# Workaround for OpenSSL 1.0.2.
47+
# Can drop with OpenSSL 1.1.1 used by Python 3.10+.
4748
# ref: https://bugs.python.org/issue42853
4849
if sys.version_info < (3, 10):
4950
OPENSSL_MAX_CHUNKSIZE = 256 ** ctypes.sizeof(ctypes.c_int) // 2 - 1

0 commit comments

Comments
 (0)