Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-91048: Reorder result tuple of parse_code_object#134898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
pablogsal merged 1 commit intopython:mainfromlkollar:reorder-stack-frames
May 31, 2025

Conversation

lkollar
Copy link
Contributor

@lkollarlkollar commentedMay 29, 2025
edited by bedevere-appbot
Loading

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.

The standard followed by APIs like pstat.Stats is to take a file, line,function triplet. The parse_code_object function (and callers exposingthis in Python like RemoteUnwinder.get_stack_trace) return function,file, line triplets which requires the caller to reorder these whenusing it in classes like pstat.Stats.
@lkollarlkollarforce-pushed thereorder-stack-frames branch fromb128a06 to58e9e03CompareMay 30, 2025 06:46
@lkollarlkollar changed the titleReorder result tuple of parse_code_objectgh-91048: Reorder result tuple of parse_code_objectMay 30, 2025
@lkollarlkollar marked this pull request as ready for reviewMay 30, 2025 06:54
@pablogsalpablogsal added skip news needs backport to 3.14bugs and security fixes labelsMay 31, 2025
@pablogsalpablogsalenabled auto-merge (squash)May 31, 2025 00:32
@pablogsalpablogsal merged commit8e8786f intopython:mainMay 31, 2025
48 checks passed
@miss-islington-app
Copy link

Thanks@lkollar for the PR, and@pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 31, 2025
…34898)Reorder result tuple of parse_code_objectThe standard followed by APIs like pstat.Stats is to take a file, line,function triplet. The parse_code_object function (and callers exposingthis in Python like RemoteUnwinder.get_stack_trace) return function,file, line triplets which requires the caller to reorder these whenusing it in classes like pstat.Stats.(cherry picked from commit8e8786f)Co-authored-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
@bedevere-app
Copy link

GH-134956 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMay 31, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@pablogsalpablogsalpablogsal approved these changes

@ambvambvAwaiting requested review from ambvambv is a code owner

@1st11st1Awaiting requested review from 1st11st1 is a code owner

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@lkollar@pablogsal

[8]ページ先頭

©2009-2025 Movatter.jp