FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] gh-108342: Break ref cycle in SSLSocket._create() exc (GH-108344) by miss-islington · Pull Request #108348 · python/cpython · GitHub

Repository navigation

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

Merged
ambv merged 1 commit into
python:3.12from
miss-islington:backport-64f9935-3.12
Aug 23, 2023
Merged

ambv merged 1 commit into
python:3.12from
miss-islington:backport-64f9935-3.12

Conversation

miss-islington commented Aug 23, 2023 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

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 GH-108310.
(cherry picked from commit 64f9935)

Co-authored-by: Victor Stinner vstinner@python.org

…-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 <vstinner@python.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL