GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Expose signal-safe way to print stacktraces · Issue #145559 · python/cpython

Expose signal-safe way to print stacktraces #145559

New issue
Copy link
New issue
Copy link
Closed
Closed
Expose signal-safe way to print stacktraces#145559
Copy link
Assignees
pablogsal
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-C-APItype-featureA feature request or enhancementA feature request or enhancement

Description

@alexmalyshev
alexmalyshev
opened on Mar 5, 2026
Issue body actions

Feature or enhancement

Proposal:

#107215 stopped exporting _Py_DumpTraceback() and _Py_DumpTracebackThreads(). This removed the only signal-safe way of printing a Python stacktrace.

Proposing that they are re-exported.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

  • gh-145559: Add PyUnstable_DumpTraceback() and PyUnstable_DumpTracebackThreads() #145560
  • gh-145559: Add PyUnstable_DumpTraceback() and PyUnstable_DumpTracebackThreads() #148145
  • gh-145559: Make PyUnstable_DumpTraceback return void again  #154131

Activity

  1. alexmalyshev
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Mar 5, 2026
  2. sergey-miryanov
    added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    on Mar 5, 2026
  3. picnixz
    added
    topic-C-API
    on Mar 6, 2026
  4. pablogsal
    self-assigned this
    on Apr 5, 2026
  5. vstinner commented on Apr 30, 2026

    @vstinner
    vstinner
    on Apr 30, 2026
    Member
    More actions

    See also issue gh-148925 "Expose signal-safe way to get a structured stacktrace".

  6. vstinner
    added a commit that references this issue on May 6, 2026

    gh-145559: Add PyUnstable_DumpTraceback() and PyUnstable_DumpTracebac…

    646853d
  7. alexmalyshev
    closed this as completedon May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @pablogsal
    pablogsal

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-C-APItype-featureA feature request or enhancementA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.