Christopher Rowley
Christopher Rowley
I think this was another symptom of a bug that was recently fixed - can you try again on latest PythonCall?
Yeah sure. This is only a speculative feature, it might not come to anything. In particular, it seems AFAIU that a package's `__init__()` does not get called when precompiling, only...
I while ago I did some experimenting with combining Julia locks with the GIL, such as you are suggesting. While in this case adding a `ReentrantLock` to `lock()` and `@lock`...
The GIL functionality in PythonCall is all pretty experimental at this stage. Buyer beware. So for now I think I'd rather leave the exposed functionality as simple as possible and...
I'll also note that this is all super flaky because Julia is allowed to migrate tasks between threads, so the original code is buggy anyway in that within `@unlock`, the...
It might be misremembering the details but it was something like that. Julia can call into Python and Python can call into Julia, you can flip-flop as much as you...
Thank you. Is that the entire error message? It's not much of a backtrace, but that is typical for Mac I think. Can you give the output of `CondaPkg.status()` and...
Oh someone mentioned recently something about finding that doing anything multithreaded in PythonCall would crash if the thing being multithreaded wasn't compiled yet. I can't remember the details but maybe...
Thanks. Can you try doing `CondaPkg.add("python", version="3.13.*")` before anything else to see if the error is only with Python 3.14?