Open
Description
Affects: PythonCall
Describe the bug
Setting the PYTHON_JULIACALL_HANDLE_SIGNALS
environment variable manually and then importing juliacall
triggers the disk security protocol on MacOS
Meanwhile just importing juliacall
works fine
ANY VERSIONS
Reproduce script:
import os
os.environ["PYTHON_JULIACALL_HANDLE_SIGNALS"] = os.environ.get("PYTHON_JULIACALL_HANDLE_SIGNALS", "yes")
import juliacall
For clarity: importing juliacall
works fine, but if you set environment variable first, it triggers SIP
Your system
Please provide detailed information about your system:
- MacOS
- Any versions
Additional context
First seen at MilesCranmer/PySR#682