mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-117174: Fix reference leak and gdb tests (#131095)
This commit is contained in:
parent
c00ac57824
commit
ebc24d54bc
8 changed files with 88 additions and 83 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue