Skip to content

Could future.utils.raise_from set the __traceback__ attribute ? #340

@Lucas-C

Description

@Lucas-C

Hi.

The current implementation of future.utils.raise_from refers to PEP 3134: https://github.com/PythonCharmers/python-future/blob/39a066ed/src/future/utils/__init__.py#L388

However, it does not set the __traceback__ attribute as the PEP recommends.
This would be very handy to display chained exceptions tracebacks.

Would you be open to a PR adding this ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions