Content-Length: 299446 | pFad | https://github.com/python/cpython/pull/141283

CC [3.13] gh-140530: fix a reference leak in an error path for `raise exc from cause` (GH-140908) by picnixz · Pull Request #141283 · python/cpython · GitHub
Skip to content

[3.13] gh-140530: fix a reference leak in an error path for raise exc from cause (GH-140908)#141283

Merged
picnixz merged 1 commit intopython:3.13from
picnixz:backport-0c77e7c-3.13
Nov 9, 2025
Merged

[3.13] gh-140530: fix a reference leak in an error path for raise exc from cause (GH-140908)#141283
picnixz merged 1 commit intopython:3.13from
picnixz:backport-0c77e7c-3.13

Conversation

@picnixz
Copy link
Member

@picnixz picnixz commented Nov 9, 2025

Fix a reference leak in raise E from T when T is an exception subtype for which T.__new__ does not return an exception instance.

(cherry picked from commit 0c77e7c)

… from cause` (python#140908)

Fix a reference leak in `raise E from T` when `T` is an exception
subtype for which `T.__new__` does not return an exception instance.

(cherry picked from commit 0c77e7c)
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @picnixz for commit ab0f374 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F141283%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-refleak-buildbots Test PR w/ refleak buildbots; report in status section label Nov 9, 2025
@picnixz picnixz merged commit 718886f into python:3.13 Nov 9, 2025
53 checks passed
@picnixz picnixz deleted the backport-0c77e7c-3.13 branch November 9, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/141283

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy