-
Notifications
You must be signed in to change notification settings - Fork 68
Stack trace order is inconsistent #391
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
Labels
enhancement
New feature or request
Milestone
Comments
In Julia, PythonCall already has custom stacktrace printing so that the Python stack is in the same order as Julia:
|
But yes, you're right that from Python, the Julia stack is printed in reverse. This is because custom stack printing has not been implemented on that side, so just uses
It would indeed be nice to improve these stack traces. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Python stack traces place the most recent call last, Julia's place the most recent call first. When I the call stack has a bunch of Python function then a bunch of Julia functions, the most recent call is in the middle. I don't like that.
Describe the solution you'd like
It'd be nice if PythonCall printed Python stack traces in julian order and JuliaCall printed julia stack traces in pythonic order.
Julia's Base could also flip the order all stacktraces are printed in :P
The text was updated successfully, but these errors were encountered: