Blender Git Loki

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 '' & warn when using.

Blender's executable remains accessible via ``.

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

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021