From 65a5bf9d37a3b29eb394f560b9a09318196c40e8 Mon Sep 17 00:00:00 2001 From: shadchin <shadchin@yandex-team.com> Date: Mon, 23 Dec 2024 19:39:02 +0300 Subject: Update Python 3 to 3.12.8 commit_hash:c20045b8a987d8720e1f3328270357491d5530f3 --- contrib/tools/python3/Lib/multiprocessing/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/tools/python3/Lib/multiprocessing/connection.py') diff --git a/contrib/tools/python3/Lib/multiprocessing/connection.py b/contrib/tools/python3/Lib/multiprocessing/connection.py index d0582e3cd5..fdbc3bda7d 100644 --- a/contrib/tools/python3/Lib/multiprocessing/connection.py +++ b/contrib/tools/python3/Lib/multiprocessing/connection.py @@ -956,7 +956,7 @@ def answer_challenge(connection, authkey: bytes): f'Protocol error, expected challenge: {message=}') message = message[len(_CHALLENGE):] if len(message) < _MD5ONLY_MESSAGE_LENGTH: - raise AuthenticationError('challenge too short: {len(message)} bytes') + raise AuthenticationError(f'challenge too short: {len(message)} bytes') digest = _create_response(authkey, message) connection.send_bytes(digest) response = connection.recv_bytes(256) # reject large message -- cgit v1.2.3