Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress exception chaining when PEP 3134 is merged #32

Open
atagar opened this issue Dec 20, 2019 · 0 comments
Open

Suppress exception chaining when PEP 3134 is merged #32

atagar opened this issue Dec 20, 2019 · 0 comments

Comments

Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
@atagar
Copy link
Contributor

@atagar atagar commented Dec 20, 2019

Migrated from ticket 16348.

Python3 added exception chaining. Under python2 you only get the useful stacktrace but with python3 you get the internal one too.

At present there isn't a method for suppressing this. ​There's a proposal for adding suppression but it isn't yet merged, and even after it is this will be an ongoing annoyance for python 3.x before the addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment