Skip to content

Expose signal-safe way to print stacktraces #145559

Description

@alexmalyshev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions