agronholm / agronholm/exceptiongroup
Custom traceback is being overridden when importing exceptiongroup
Open
enhancement
- Dominant language
- Python
- Stars
- 49
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
I took as a reference the source code of exceptiongroup in order to make a custom exception of my own with a custom traceback .
It worked as expected, the thing is, when I import exceptiongroup, it overrides the traceback exception from the exceptiongroup.
Is there a way to isolate my implementation?
I assume it relates to this code:
https://github.com/agronholm/exceptiongroup/blob/4e2df2190d3c61a2e7940d6908b32658dfadab3f/src/exceptiongroup/_formatting.py#L343-L360
What can I do about it?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.