You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jl.PythonCall.JlWrap.Cjl._pyjlbase_name crash in Python 3.13 #620
Describe the bug
Just accessing juliacall.Main.PythonCall.JlWrap.Cjl._pyjlbase_name crashes python 3.13.3. It doesn't crash python 3.12.
I know it's a private field, but what I actually wanted to do was juliacall.Base.summarysize(juliacall.PythonCall) which crashes due to _pyjlbase_name
from juliacall import Main as jl
jl.PythonCall.JlWrap.Cjl._pyjlbase_name
Your system
Please provide detailed information about your system:
The operating system: Ubuntu 25.04 (also with Debian GNU/Linux 12 (bookworm))
pip list
Package Version
--------- -------
filelock 3.18.0
juliacall 0.9.25
juliapkg 0.1.17
pip 25.1.1
semver 3.0.4
conda not installed
JuliaPkg Status
/home/dani/.virtualenvs/py13_summary_crash-sjfh94lK/julia_env/pyjuliapkg/juliapkg.json (empty project)
Julia 1.11.5 @ /home/dani/.julia/juliaup/julia-1.11.5+0.x64.linux.gnu/bin/julia
I tried to patch it with jl.Base.setglobal_b(jl.PythonCall.JlWrap.Cjl, jl.Symbol("_pyjlbase_name"), "juliacall.ValueBase"), but I get "invalid redefinition of constant Cjl._pyjlbase_name".
Activity
dpinol commentedon Jun 2, 2025
I tried to patch it with
jl.Base.setglobal_b(jl.PythonCall.JlWrap.Cjl, jl.Symbol("_pyjlbase_name"), "juliacall.ValueBase"), but I get "invalid redefinition of constant Cjl._pyjlbase_name".cjdoris commentedon Aug 30, 2025
I think this was another symptom of a bug that was recently fixed - can you try again on latest PythonCall?
dpinol commentedon Sep 17, 2025
yes, it's now fixed. thanks!