]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91048: Reorder result tuple of parse_code_object (#134898)
authorLászló Kiss Kollár <kiss.kollar.laszlo@gmail.com>
Sat, 31 May 2025 00:32:36 +0000 (03:32 +0300)
committerGitHub <noreply@github.com>
Sat, 31 May 2025 00:32:36 +0000 (00:32 +0000)
commit8e8786f8986353e20c1c4406c34409a6139fa073
treeb571c459f9b39dfd2005c0134a6b8a7f06f2dd0e
parent8865b4f95b32097099d252111669b88ec7c1eb7f
gh-91048:  Reorder result tuple of parse_code_object (#134898)

Reorder result tuple of parse_code_object

The standard followed by APIs like pstat.Stats is to take a file, line,
function triplet. The parse_code_object function (and callers exposing
this in Python like RemoteUnwinder.get_stack_trace) return function,
file, line triplets which requires the caller to reorder these when
using it in classes like pstat.Stats.
Lib/test/test_external_inspection.py
Modules/_remote_debugging_module.c