JuliaPy / JuliaPy/PythonCall.jl

Stack trace order is inconsistent

Open
#391 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
1.1k
Forks
86
Avg merge
1d 22h
Merged PRs (30d)
3

Description

**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

Contributor guide

No contributing guide indexed for this repository

Research direction

The request concerns stack-trace formatting in PythonCall.jl and the referenced JuliaCall behavior, with Julia Base also mentioned as a possible broader scope. Start by locating the relevant formatting entry points and comparing mixed Python/Julia call stacks. Done means the ordering is consistent as requested, including clear behavior for mixed-language traces.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.