Set sys.last_exc
in addition to last_type
/last_value
/last_traceback
on Python>=3.12
#11850
Labels
type: enhancement
new feature or API change, should be merged into features branch
Python 3.12 added
sys.last_exc
. We should set it like we do the older variants.The text was updated successfully, but these errors were encountered: