Christopher Rowley
Christopher Rowley
Fixes #2121. Here's a cell you can test with: ```julia begin cmd = `julia -e 'println(0); sleep(3); println(1);'` pipe = pipeline(cmd; stdout, stderr) proc = run(pipe; wait=false) sleep(0) end ```...
https://github.com/cjdoris/Bokeh.jl/actions/workflows/compathelper.yml It stopped working about a week ago, and I can't figure out why! The workflow YAML file is exactly the same as the one CompatHelper suggests to use. The...
`juliacall.AnyValue.__copy__` and `__deepcopy__` could call Julia's `copy` and `deepcopy`. Conversely, `copy(::Py)` and `deepcopy_internal(::Py, ::IdDict)` could call Python's `copy.copy` and `copy.deepcopy`. https://docs.python.org/3/library/copy.html
Make in-place versions of all the API functions, like: ```julia pyimport!(ans, "sys") pyadd!(ans, x, y) pygetattr!(ans, x, "foo") ``` These replace the pointer in `ans::Py` with the result of the...
We used to set `Base.stdout` to `PyIO(sys.stdout)` but this causes bugs so is removed. Instead copy the IJulia approach: use `pipe = redirect_stdout()` and have an async task watch the...
When the code is a single identifier, just look it up in the scope instead of evaling anything.
At package resolution time, also use `PackageCompiler` to generate a sysimage including all the packages in the environment, and load Julia with this sysimage. Also provide a means for packages...