FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-91048: Reorder result tuple of parse_code_object (GH-134898) by miss-islington · Pull Request #134956 · python/cpython · GitHub

/ cpython Public

[3.14] gh-91048: Reorder result tuple of parse_code_object (GH-134898) - #134956

Merged
pablogsal merged 3 commits into
python:3.14from
miss-islington:backport-8e8786f-3.14
Jun 11, 2025
Merged

[3.14] gh-91048: Reorder result tuple of parse_code_object (GH-134898)#134956
pablogsal merged 3 commits into
python:3.14from
miss-islington:backport-8e8786f-3.14

Conversation

miss-islington commented May 31, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

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

…34898)

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>
pablogsal enabled auto-merge (squash) May 31, 2025 00:54
pablogsal merged commit f303532 into python:3.14 Jun 11, 2025
miss-islington deleted the backport-8e8786f-3.14 branch January 2, 2026 16:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL