JuliaPy / JuliaPy/PyCall.jl

Document Thread Safety

Open
#966 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Hi,

we need to document PyCall's thread safety (I assume its thread safe and can be called within a `Threads.@threads for` block).

Also it's worth noting that python `PYTHONFAULTHANDLER` environment variable can cause a crash when it intercepts signals from the Julia garbage collector. So we should document that `PYTHONFAULTHANDLER=0` should be set. Cf. https://discourse.julialang.org/t/help-with-pycall-related-segfault/55998

Cheers,
Johannes

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.