Skip to content

Add PyErr_DisplayException(exc) as replacement for PyErr_Display(typ, exc, tb) #102755

@iritkatriel

Description

@iritkatriel

Create a single-arg version of PyErr_Display.

PyErr_Display is in the stable ABI but it is not documented. PyErr_DisplayException will therefore need to be in the stable ABI as well (and documented).

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions