Compatibility fixes for mjpython.
- Find Python functions in the interpreter binary itself rather than trying to find libpython.dylib, because this doesn't exist when using Conda. (https://github.com/conda-forge/python-feedstock/issues/595#issuecomment-1311275470) - Increase the stack size of both the Python main thread and the OS main thread to 16MiB, to match what Python normally uses on macOS. (https://github.com/python/cpython/blob/3.11/configure#L11038) - Check whether dlfcn and pthread function calls actually succeeds. Emit error messages and exit on failure rather than continuing the program (which generally leads to segfaults). - Fix pixelated shadow in the icon. PiperOrigin-RevId: 517390522 Change-Id: Ib91679b4baa63bac5f6b5893e634712d72161ea5
This commit is contained in:
committed by
Copybara-Service
parent
08027b4e43
commit
0c4e191dd6
Binary file not shown.
Reference in New Issue
Block a user