[3.14] gh-91048: Reorder result tuple of parse_code_object (GH-134898) by miss-islington · Pull Request #134956 · python/cpython
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.
(cherry picked from commit 8e8786f)
Co-authored-by: László Kiss Kollár kiss.kollar.laszlo@gmail.com