Reproducer: ```py import math try: math.dist([1, 2], [3, 4, 5]) except ValueError: pass ``` Memory leak: ```console @kumaraditya303 ➜ /workspaces/cpython (main ✗) $ ./python -X showrefcount main.py [7 refs, 2 blocks] ``` Python Version: main at 9bdec0aa45 <!-- gh-pr-number: gh-98898 --> * PR: gh-98898 <!-- /gh-pr-number --> <!-- gh-pr-number: gh-98941 --> * PR: gh-98941 <!-- /gh-pr-number --> <!-- gh-pr-number: gh-98942 --> * PR: gh-98942 <!-- /gh-pr-number -->
Reproducer:
Memory leak:
Python Version: main at 9bdec0a
math.distraises exception #98898math.distraises exception (GH-98898) #98941math.distraises exception (GH-98898) #98942