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.
1 parent 1bf50f1 commit 7cb7789Copy full SHA for 7cb7789
Modules/main.c
@@ -569,7 +569,7 @@ pymain_run_stdin(PyConfig *config)
569
|| _Py_GetEnv(config->use_environment, "PYTHON_BASIC_REPL")) {
570
PyCompilerFlags cf = _PyCompilerFlags_INIT;
571
int run = PyRun_AnyFileExFlags(stdin, "<stdin>", 0, &cf);
572
- return run;
+ return (run != 0);
573
}
574
int run = pymain_run_module(L"_pyrepl", 0);
575
return run;
0 commit comments