Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 394871 | Differences between
and this patch

Collapse All | Expand All

(-)source/blender/python/intern/bpy_interface.c-original (-4 lines)
Lines 219-228 Link Here
219
	 * blender is utf-8 too - campbell */
219
	 * blender is utf-8 too - campbell */
220
	BLI_setenv("PYTHONIOENCODING", "utf-8:surrogateescape");
220
	BLI_setenv("PYTHONIOENCODING", "utf-8:surrogateescape");
221
221
222
	/* Python 3.2 now looks for '2.xx/python/include/python3.2d/pyconfig.h' to
223
	 * parse from the 'sysconfig' module which is used by 'site',
224
	 * so for now disable site. alternatively we could copy the file. */
225
	Py_NoSiteFlag= 1;
226
222
227
	Py_Initialize();
223
	Py_Initialize();
228
224
(-)source/gameengine/Ketsji/KX_PythonInit.cpp-original (-2 lines)
Lines 1823-1829 Link Here
1823
	STR_String pname = progname;
1823
	STR_String pname = progname;
1824
	Py_SetProgramName(pname.Ptr());
1824
	Py_SetProgramName(pname.Ptr());
1825
#endif
1825
#endif
1826
	Py_NoSiteFlag=1;
1827
	Py_FrozenFlag=1;
1826
	Py_FrozenFlag=1;
1828
1827
1829
	/* must run before python initializes */
1828
	/* must run before python initializes */
Lines 1896-1902 Link Here
1896
	STR_String pname = progname;
1895
	STR_String pname = progname;
1897
	Py_SetProgramName(pname.Ptr());
1896
	Py_SetProgramName(pname.Ptr());
1898
#endif
1897
#endif
1899
	Py_NoSiteFlag=1;
1900
	Py_FrozenFlag=1;
1898
	Py_FrozenFlag=1;
1901
1899
1902
	initPyTypes();
1900
	initPyTypes();

Return to bug 394871