gh-117174: Fix reference leak and gdb tests (#131095)

This commit is contained in:
Pablo Galindo Salgado 2025-03-11 23:17:58 +00:00 committed by GitHub
parent c00ac57824
commit ebc24d54bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 88 additions and 83 deletions

View file

@ -1,5 +1,4 @@
# Sample script for use by test_gdb
from _typing import _idfunc
def foo(a, b, c):
bar(a=a, b=b, c=c)
@ -8,6 +7,6 @@ def bar(a, b, c):
baz(a, b, c)
def baz(*args):
_idfunc(42)
id(42)
foo(1, 2, 3)