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
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 thatPYTHONFAULTHANDLER=0
should be set. Cf. https://discourse.julialang.org/t/help-with-pycall-related-segfault/55998Cheers, Johannes