Blender Git Commit Log

Git Commits -> Revision 52b38d9

Revision 52b38d9 by Campbell Barton (master)
October 29, 2020, 00:22 (GMT)
PyAPI: point sys.executable to the Python binary

`sys.executable` is documented to be a Python interpreter or None.

This was set to Blender's executable which caused the multiprocessing
module to spawn new instances of Blender instead of Python on WIN32.
See issue described in D7815.

Deprecate 'bpy.app.binary_path_python' & warn when using.

Blender's executable remains accessible via `bpy.app.binary_path`.

Modified 04c5471ceefb4, setting `sys.executable` instead of using
Py_SetProgramName, which is needed for a bundled Python installation.

Commit Details:

Full Hash: 52b38d9c3d84485385d5bc2e58f16c5acfaca9b7
Parent Commit: 911f9e0
Lines Changed: +29, -31

3 Modified Paths:

/release/scripts/modules/sys_info.py (+2, -2) (Diff)
/source/blender/python/intern/bpy_app.c (+5, -28) (Diff)
/source/blender/python/intern/bpy_interface.c (+22, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021