We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
putenv
1 parent daa1e2d commit 6c7baa2Copy full SHA for 6c7baa2
Programs/_testembed.c
@@ -569,7 +569,14 @@ static int test_init_global_config(void)
569
570
/* Test initialization from global configuration variables (Py_xxx) */
571
Py_SetProgramName(L"./globalvar");
572
+
573
+ putenv("PYTHONINSPECT=");
574
+ putenv("PYTHONOPTIMIZE=0");
575
Py_InteractiveFlag = 1;
576
+ putenv("PYTHONDEBUG=0");
577
+ putenv("PYTHONDONTWRITEBYTECODE=");
578
+ putenv("PYTHONVERBOSE=0");
579
+ putenv("PYTHONUNBUFFERED=");
580
581
Py_Initialize();
582
dump_config();
0 commit comments