gh-108342: Break ref cycle in SSLSocket._create() exc (#108344)
Explicitly break a reference cycle when SSLSocket._create() raises an exception. Clear the variable storing the exception, since the exception traceback contains the variables and so creates a reference cycle. This test leak was introduced by the test added for the fix of #108310.
V
Victor Stinner committed
64f99350351bc46e016b2286f36ba7cd669b79e3
Parent: 9173b2b
Committed by GitHub <noreply@github.com>
on 8/23/2023, 5:26:01 AM