gh-117174: Add a new route in linecache to fetch interactive source code (#117500)

This commit is contained in:
Pablo Galindo Salgado 2025-03-10 21:54:05 +00:00 committed by GitHub
parent ecdf6b15b0
commit a931a8b324
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 142 additions and 93 deletions

View file

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