Skip to content

Set sys.last_exc in addition to last_type/last_value/last_traceback on Python>=3.12 #11850

@bluetech

Description

@bluetech

Python 3.12 added sys.last_exc. We should set it like we do the older variants.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions