Skip to content

Make exc.__cause__ return InnerException in Python 3 #223

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

Closed
filmor opened this issue Jun 2, 2016 · 3 comments
Closed

Make exc.__cause__ return InnerException in Python 3 #223

filmor opened this issue Jun 2, 2016 · 3 comments

Comments

@filmor
Copy link
Member

filmor commented Jun 2, 2016

Python 3 has a direct(?) match of the InnerException property from .NET, namely the __cause__ property, which results in much nicer and more informative tracebacks.

@filmor
Copy link
Member Author

filmor commented Nov 10, 2016

I'll add this as soon as #286 is merged. We are setting a slot there anyhow (args), we might as well extend this.

@den-run-ai
Copy link
Contributor

@filmor I merged #286

@filmor
Copy link
Member Author

filmor commented Jan 9, 2017

Closed by #287.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants