Skip to content

bpo-45061: Enhance faulthandler traceback wit no Python frame#28090

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:traceback_noframe
Aug 31, 2021
Merged

bpo-45061: Enhance faulthandler traceback wit no Python frame#28090
vstinner merged 1 commit intopython:mainfrom
vstinner:traceback_noframe

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Aug 31, 2021

Fix indentation of message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
Garbage-collecting

https://bugs.python.org/issue45061

Fix indentation of <no Python frame> message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>
@vstinner
Copy link
Copy Markdown
Member Author

Formatted example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>

@vstinner vstinner merged commit 888d4cc into python:main Aug 31, 2021
@vstinner vstinner deleted the traceback_noframe branch August 31, 2021 15:34
@vstinner vstinner added the needs backport to 3.10 only security fixes label Aug 31, 2021
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 31, 2021
…GH-28090)

Fix indentation of <no Python frame> message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>
(cherry picked from commit 888d4cc)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link
Copy Markdown

GH-28096 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 31, 2021
miss-islington added a commit that referenced this pull request Aug 31, 2021
Fix indentation of <no Python frame> message in a faulthandler
traceback or a Fatal Python error traceback. Example:

Current thread 0x00007f03896fb740 (most recent call first):
  Garbage-collecting
  <no Python frame>
(cherry picked from commit 888d4cc)

Co-authored-by: Victor Stinner <vstinner@python.org>
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.

4 participants