Skip to content

Serialising traceback objects #34

Closed
@cjdoris

Description

@cjdoris

Python traceback objects are not picklable, and hence PyException cannot always be serialised.

As a fix, serialise the b field of a PyException as None. Or possibly always serialize traceback to None? Or to Unpicklable()?

Optional extra: if we detect that tblib is installed, allow pickling of traceback.

Document this behaviour in the compat section.

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