PythonCall.jl
PythonCall.jl copied to clipboard
Python and Julia in harmony.
I see you upgraded minimum Python to 3.8, so it got me curious what does it and later versions enable that you could take advantage of: https://docs.python.org/3.13/whatsnew/3.13.html#experimental-jit-compiler You download Python...
**Affects:** PythonCall **Describe the bug** Minimal working example: ```julia using PythonCall sym = pyimport("sympy") a = sym.Symbol("a", positive=true) sym.lambdify(a, a) ``` ```julia Python: AttributeError: 'NoneType' object has no attribute 'f_locals'...
This is half a feature request and half a request for comment on my current solution. In PySR I have four optional Julia dependencies: LoopVectorization, Bumper, Zygote, and ClusterManagers. Installing...
**Affects:** PythonCall / JuliaCall / Both **Describe the bug** I running [Pysr](https://github.com/MilesCranmer/PySR) on Macbook Air M2, during first time import. Programm automatically select julialang for x64 version instead of aarch64....
**Affects:** JuliaCall **Describe the bug** When I use `@show` and `println` in the julia function which is called by the callback function of ros.py, the program becomes unresponsive. Python `test.py`:...
If I have a Julia function which takes a callback (artificial example here): ```julia function caller(callback, arg_vector) callback(arg_vector) return nothing end outer_vector = [0] caller(outer_vector) do inner_vector inner_vector[1] = 1...
Following the discussion in #474, convert Python functions and lambdas to a Julia `PyFunction
Is there a systematic way to check whether julia code is called via JuliaCall versus normal Julia?
motivation: build juliacode which has some specific behaviour when run via JuliaCall reusing the same code simplifies the interface as well as the code size
**Is your feature request related to a problem? Please describe.** In Julia, it looks like [finalizers](https://docs.julialang.org/en/v1/base/base/#Base.finalizer) are always called when exiting. E.g., the following code always prints "hola". ```julia mutable...
Fixes #515