Title: Observed memory leak in ssl library: Python 3.14 GC issue · Issue #142516 · python/cpython · GitHub
Open Graph Title: Observed memory leak in ssl library: Python 3.14 GC issue · Issue #142516 · python/cpython
X Title: Observed memory leak in ssl library: Python 3.14 GC issue · Issue #142516 · python/cpython
Description: Bug report Bug description: 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 be...
Open Graph Description: Bug report Bug description: 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 ...
X Description: Bug report Bug description: 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 ...
Opengraph URL: https://github.com/python/cpython/issues/142516
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Observed memory leak in ssl library: Python 3.14 GC issue","articleBody":"# Bug report\n\n### Bug description:\n\nI 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 upgraded from Python 3.13 to Python 3.14 (I tested 3.14.{0, 1, 2})\n\nThe details are explained in the `urllib3` ticket including outputs from `memray` and it points to ssl package (precisely [`ssl.SSLContext.load_verify_locations`](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_verify_locations)), see: https://github.com/urllib3/urllib3/issues/3738\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-143585\n* gh-143685\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/HenriBlacksmith","@type":"Person","name":"HenriBlacksmith"},"datePublished":"2025-12-10T14:43:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":38},"url":"https://github.com/142516/cpython/issues/142516"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c6fd0d2a-b9b4-253e-894a-9c412110b7dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D16E:33B51C:21884:2BC99:6969C284 |
| html-safe-nonce | 57e65ce546ac97750498254a10672341ca63bebf2685244087db05493620dee3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTZFOjMzQjUxQzoyMTg4NDoyQkM5OTo2OTY5QzI4NCIsInZpc2l0b3JfaWQiOiI3Nzc4Njc4MzM3NTkwODkyODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fd99231918fd61e664767d5c14241d8ca6f00f26efed287d73b2290dc1aadba6 |
| hovercard-subject-tag | issue:3715500921 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/142516/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6e0ec2c380afe9dcc41d71d8b493c50888f0e82ab2b75a872b4f7e2a91fade3/python/cpython/issues/142516 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6e0ec2c380afe9dcc41d71d8b493c50888f0e82ab2b75a872b4f7e2a91fade3/python/cpython/issues/142516 |
| og:image:alt | Bug report Bug description: 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | HenriBlacksmith |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width