Skip to content

Access Python Exception object #1614

Description

@espositofulvio

Issue description

When catching a Python exception from C++, there is no way to access the exception data. Python exceptions are converted to error_already_set, but its members are private and there's no way to access the actual exception data in case the value member is set as for StopIteration.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions