diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-23 10:10:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 10:10:14 (GMT) |
commit | 893c3b7f5c52b5c0800b72a78fb799632efcd628 (patch) | |
tree | 2b66622c28ee14f9d4196f0a638b6bd5f28da488 /Lib/test/decimaltestdata | |
parent | 1c937e58873a4d07d9c94f3f28cd4733f62dc8ab (diff) | |
download | cpython-893c3b7f5c52b5c0800b72a78fb799632efcd628.zip cpython-893c3b7f5c52b5c0800b72a78fb799632efcd628.tar.gz cpython-893c3b7f5c52b5c0800b72a78fb799632efcd628.tar.bz2 |
[3.10] gh-108342: Break ref cycle in SSLSocket._create() exc (GH-108344) (#108350)
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 64f99350351bc46e016b2286f36ba7cd669b79e3)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/test/decimaltestdata')
0 files changed, 0 insertions, 0 deletions