Observed memory leak in ssl library: Python 3.14 GC issue · Issue #142516 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

extension-modulesC modules in the Modules dir

type-bugAn unexpected behavior, bug, or error

urllib3/urllib3#3738

I already opened a bug on urllib3 for this issue, it looks that may application using MSAL for Python library (which relies on requests , which relies on urllib3, which relies on ssl) is leaking memory when being upgrade

gh-142516: Memory leak in SSLContext #143585

gh-142516: fix reference leaks in ssl.SSLContext objects #143685

[3.14] gh-142516: fix reference leaks in ssl.SSLContext objects (GH-143685) #145075

[3.13] gh-142516: fix reference leaks in ssl.SSLContext objects (GH-143685) (GH-145075) #148371

gh-142516: Forward-port generational GC #148687

[3.14] Forward-port generational GC (GH-142516) #148694