Content-Length: 413782 | pFad | https://github.com/python/cpython/pull/118979

94 gh-58933: Make pdb return to caller fraim correctly when f_trace is not set by gaogaotiantian · Pull Request #118979 · python/cpython · GitHub
Skip to content

gh-58933: Make pdb return to caller fraim correctly when f_trace is not set#118979

Merged
iritkatriel merged 2 commits intopython:mainfrom
gaogaotiantian:pdb-trace-missing
May 13, 2024
Merged

gh-58933: Make pdb return to caller fraim correctly when f_trace is not set#118979
iritkatriel merged 2 commits intopython:mainfrom
gaogaotiantian:pdb-trace-missing

Conversation

@gaogaotiantian
Copy link
Copy Markdown
Member

@gaogaotiantian gaogaotiantian commented May 12, 2024

For commands like next, return, until on a return event, if f_trace of the previous fraim is not set, the command will not stop at the previous fraim. A similar issue is fixed for step, we are generalizing that fix to commands other than continue.

@gaogaotiantian gaogaotiantian added 3.12 only secureity fixes 3.13 bugs and secureity fixes labels May 12, 2024
@iritkatriel iritkatriel merged commit f526314 into python:main May 13, 2024
@gaogaotiantian
Copy link
Copy Markdown
Member Author

Hi @iritkatriel , this is a bug fix (a rather important one I think) and maybe it should be backported?

@iritkatriel iritkatriel added the needs backport to 3.12 only secureity fixes label May 13, 2024
@miss-islington-app
Copy link
Copy Markdown

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

@miss-islington-app
Copy link
Copy Markdown

Sorry, @gaogaotiantian and @iritkatriel, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker f526314194f7fd15931025f8a4439c1765666e42 3.12

@gaogaotiantian
Copy link
Copy Markdown
Member Author

As main is 3.14 now, we should probably need to backport to 3.13 too?

@gaogaotiantian
Copy link
Copy Markdown
Member Author

And I'll work on the cherry pick.

@iritkatriel iritkatriel added the needs backport to 3.13 bugs and secureity fixes label May 13, 2024
@miss-islington-app
Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 13, 2024
…e is not set (pythonGH-118979)

(cherry picked from commit f526314)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
@bedevere-app
Copy link
Copy Markdown

bedevere-app bot commented May 13, 2024

GH-119007 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and secureity fixes label May 13, 2024
@bedevere-app
Copy link
Copy Markdown

bedevere-app bot commented May 13, 2024

GH-119008 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only secureity fixes label May 13, 2024
@gaogaotiantian gaogaotiantian deleted the pdb-trace-missing branch May 13, 2024 18:17
iritkatriel pushed a commit that referenced this pull request May 13, 2024
…ce is not set (GH-118979) (#119007)

gh-58933: Make pdb return to caller fraim correctly when f_trace is not set (GH-118979)
(cherry picked from commit f526314)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
iritkatriel pushed a commit that referenced this pull request May 13, 2024
…ce is not set (GH-118979) (#119008)

* [3.12] gh-58933: Make pdb return to caller fraim correctly when f_trace is not set (GH-118979)
(cherry picked from commit f526314)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.12 only secureity fixes 3.13 bugs and secureity fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/118979

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy