Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.8] gh-108342: Break ref cycle in SSLSocket._create() exc (GH-108344) #108352

Merged
merged 1 commit into from
Aug 23, 2023

Commits on Aug 23, 2023

  1. pythongh-108342: Break ref cycle in SSLSocket._create() exc (pythonGH…

    …-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 pythonGH-108310.
    (cherry picked from commit 64f9935)
    
    Co-authored-by: Victor Stinner <[email protected]>
    vstinner authored and miss-islington committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    6804cae View commit details
    Browse the repository at this point in the history